Ultrasonic sensor with LED, how can I do this?

What is the sensor detecting?