Some iPhone models are equipped with a LiDAR sensor, which helps the camera better interpret information about what's around you.