It produces vitamin D.
It absorbs liquid to form stool.
It secretes enzymes to digest food.
It prevents the reflux of food into the esophagus.