The esophagus is also in the chest. The esophagus is located behind the heart and windpipe, which is also known as the trachea. The esophagus is the tube that takes food from the mouth to the stomach. It is a part of the digestive tract.