Sound is produced by vibration and needs a medium to travel through. It propagates as longitudinal waves of alternating compressions and rarefactions. The human range of hearing is between 20 Hz to 20 kHz. Ultrasound above this range has many applications like cleaning, object detection and medical imaging. Sonar uses ultrasound to detect underwater objects by calculating the time taken for echoes to return. The human ear collects sound via the outer ear and transmits it through the middle ear bones to the inner ear where it is converted to electrical signals for the brain to interpret as sound.