The esophagus is a part of the digestive system. It is a long, muscular tube that connects the mouth to the stomach. When you swallow food or liquid, it travels down the esophagus to the stomach. The esophagus helps move the food from your mouth to your stomach through a series of muscular contractions called peristalsis.