The esophagus is a muscular tube that connects the throat (pharynx) with the stomach. It plays a key role in the process of swallowing food and liquids, moving them from the mouth to the stomach through a series of muscular contractions known as peristalsis.