The stomach produces and secretes several important substances to control the digestion of food. Each of these substances is produced by exocrine or endocrine cells found in the mucosa. 1  The main exocrine product of the stomach is gastric juice – a mixture of mucus, hydrochloric acid, and digestive enzymes.