The esophagus is a muscular tube that connects the throat (pharynx) to the stomach. It is an essential part of the gastrointestinal tract and is responsible for moving swallowed food and liquids from the mouth to the stomach through a process called peristalsis.