Ultrasonic detectors, installed in the rear bumper (depending on the vehicle), measure the distance between the vehicle and an obstacle whilst reversing.
This measurement is indicated by beeps which become more frequent the closer you come to the obstacle, until they become a continuous beep when the vehicle is approximately 30 centimetres from the obstacle.