The auditory tube joins the tympanic cavity with the nasal cavity, allowing pressure to equalize between the middle ear and throat.