An upper esophageal sphincter at the superior end of the esophagus and a lower esophageal sphincter at the lower end of the esophagus regulate the movement of materials into and out of the esophagus .Numerous mucous glands produce a thick,lubricating mucus that coats the inner surface of the esophagus .