The esophagus goes through a hole in the diaphragm into the stomach. This hole is called the hiatus. The hiatus also helps prevent the backflow of juices from the stomach into the esophagus.