Functions include phagocytosis of foreign particles, production of antibodies, secretion of inflammatory response triggers (histamine and heparin), neutralize histamine.
These are separated by the myenteric plexus, a tangled interpolation of nerve fibres involved in mucous secretion peristalsis of the smooth muscle of the esophagus.