Many of the exocrine glands produce mucus, a slimy substance made of glycoproteins and water, that is used to lubricate organs such as the eyes and the esophagus and to catch harmful substances trying to come into the body through the mucous membranes.