A proximity (sensor) is a sensor able to detect the presence of nearby objects without any physical contact.
Proximity sensing is the ability of a device to tell when it is near an object, or when something is near it. This sense keeps a device from running into things. It can also be used to measure the distance from a device to some object.