This type of sensor can detect the presence of nearby objects, even if the object is not actually touching the sensor. They often utilize IR beams in order to sense the objects. You will be able to find proximity sensors in a variety of places including roller coasters, mobile phones, and even in the field of aviation safety.