The lower esophageal sphincter, a ringlike muscle at the junction of the esophagus and stomach, controls the passage of food and liquid between the esophagus and stomach. As food approaches the closed sphincter, the muscle relaxes and lets food pass through to the stomach.