Sonar uses ultrasound in a way that is similar to echolocation. ... It sends out ultrasound waves and detects the waves after they reflect from underwater objects. The distance to underwater objects can be calculated from the known speed of sound in water and the time it takes for the sound waves to travel to the object.