Sonar is used in a variety of ways in everyday life. It is used to detect objects underwater, measure distance, and map the bottom of a body of water. It is also used to detect movements of objects in the air or on the ground.