Time of Flight is a method for distance measurement. The time it takes for light to travel from the light source to the object then return to the sensor is measured and calculated into a distance.