The function of the outer ear is to collect sound waves and guide them to the tympanic membrane. The middle ear is a narrow air-filled cavity in the temporal bone. It is spanned by a chain of three tiny bones—the malleus (hammer), incus (anvil), and stapes (stirrup), collectively called the auditory ossicles.