The pharynx, or the throat, is a muscular tube that connects the nasal cavity to the larynx and the esophagus.