When collected sound vibrations reach up to the eardrum from the pinna via the external auditory canal (parts of the external ear) eardrum vibrates.
Then eardrum vibrations are transmitted to the middle ear (ear ossicles namely malleus, incus, and stapes)
It first vibrates the malleus (hammer) connected to the inner side of the eardrum, then passes these vibrations to the incus (anvil) and further, they are transmitted to stapes(stirrup)
Stapes. is present in an oval-shaped window whose opening leads to the inner ear.
So, the sound vibration from stapes is transmitted to the inner ear where it stimulates the organ of the Corti.
Organ of Corti on its stimulation transmits these vibrations to the auditory nerves of the brain which analyses these sensory impulses and sound is recognized.