A new feature of the iPhone X and iPhone 8 Plus is Portrait Lighting. This is an extension of Portrait Mode from the iPhone 7 Plus, but now there are multiple modes including contour and stage lighting. You can use these to make a subject contrast more with the background or almost eliminate the background entirely.