Sound travels as waves and can be reflected. Reflection is when a wave changes direction at an interface between two mediums and returns to its original medium. Sound waves reflect in the same way as light waves, following the laws of reflection where the angle of incidence equals the angle of reflection. Devices like loudspeakers, megaphones, and stethoscopes use the reflection of sound waves to direct or transmit sound in a desired way. Ultrasound uses high frequency sound waves and reflection to detect objects underwater or inside the human body. Sonar also uses reflection of sound waves to locate objects underwater by emitting pulses and measuring the echo returns.