Sonar devices reveal objects below the surface by directing sound waves into the ocean and recording the sound waves reflected back.