Sound waves travel from the environment through the ear canal and reach the middle ear to vibrate the eardrum.
The eardrum then vibrates the ossicles, which are three small bones in the middle ear. The sound vibrations travel through the ossicles to the inner ear.
When the sound vibrations reach the inner ear, the cochlea, they push against specialized cells known as hair cells. The hair cells turn the vibrations into electrical nerve impulses.
The auditory nerve connects the cochlea to the auditory centers of the brain. When these electrical nerve impulses reach the brain, they are experienced as sounds.