The middle ear contains three small bones, known as ossicles (malleus, incus, and stapes). They transmit mechanical vibrations from the air in the middle ear to the fluid in the inner ear, where the auditory nerve converts these vibrations into electrical signals for the brain.