The upper esophageal sphincter is a muscular ring located at the top of the esophagus that controls the entry of food and liquids from the throat into the esophagus. It plays a crucial role in preventing air from entering the esophagus during breathing and prevents the backflow of food or liquids from the esophagus into the throat.