It is a muscle regulator so that gastric juice will not backflow to the esophagus.