Sonar is like making a sound and listening to how it bounces back to you.
Have you ever shouted into a canyon or an empty room and heard your voice echo back to you? That's similar to how sonar works!
In the water, a special machine called a "sonar" sends out sound waves (kind of like little noises) and listens for how they bounce back.
When the sound waves hit something, like a fish or a boat, they bounce back to the machine and the sonar can tell how far away the object is and what it might be shaped like.
This is really helpful for people who want to know what's under the water, like military submarines, fishermen trying to catch fish, or scientists trying to study the ocean floor.
So, sonar is a way of using sound to help us see what's happening under the water!