What is the function of the esophagus?
The esophagus is a muscular tube that carries food and drink from the throat to the stomach. When you swallow, waves of muscle contractions push the food down, a process called peristalsis.
In adults, the esophagus is about 10 inches (25 cm) long. It runs down behind the windpipe and the heart, passes through an opening in the diaphragm and joins the stomach.
Swallowing
When you swallow, a flap called the epiglottis covers the windpipe so food goes into the esophagus instead of the lungs.
Peristalsis is so strong that you can swallow even when upside down or in space.
Food usually reaches the stomach in a few seconds, while liquids travel faster.
Two gatekeepers
At the top, a ring of muscle called the upper esophageal sphincter relaxes to let food in.
At the bottom, the lower esophageal sphincter opens to let food enter the stomach, then closes to stop stomach acid from flowing back up.
When this lower ring does not close properly, acid can rise into the esophagus and cause heartburn.
No digestion
The esophagus does not digest food. Its lining makes mucus that helps food slide down smoothly.
The name comes from Greek words meaning to carry what is eaten.
In British English, it is spelled oesophagus.
This answer is general information, not medical advice. For a personal health question, talk to a doctor.