In humans and other vertebrates, hearing is performed primarily by the auditory system: mechanical waves, known as vibrations are detected by the ear and transduced into nerve impulses that are perceived by the brain (primarily in the temporal lobe). Like touch, audition requires sensitivity to the movement of molecules in the world outside the organism. Both hearing and touch are types of mechanosensation.
There are three main components of the human ear: the outer ear, the middle ear, and the inner ear.
The outer ear includes the pinna, the visible part of the ear, as well as the ear canal which terminates at the eardrum, also called the tympanic membrane. The pinna serves to focus sound waves through the ear canal toward the eardrum. Because of the asymmetrical character of the outer ear of most mammals, sound is filtered differently on its way into the ear depending on what vertical location it is coming from. This gives these animals the ability to localize sound vertically. The eardrum is an airtight membrane, and when sound waves arrive there, they cause it to vibrate following the waveform of the sound.
The middle ear consists of a small air-filled chamber that is located medial to the eardrum. Within this chamber are the three smallest bones in the body, known collectively as the ossicles which include the malleus, incus and stapes (sometimes referred to colloquially as the hammer, anvil and stirrup respectively). They aid in the transmission of the vibrations from the eardrum to the inner ear. The purpose of the middle ear ossicles is to overcome the impedance mismatch between air and water, by providing impedance matching.