Sonar is a technique that uses sound to navigate, communicate with or detect other vessels, and to observe the distance and velocity of underwater objects.