Enterogastrone is a hormone produced in the intestinal mucosa, primarily in response to the presence of fatty acids and certain nutrients in the duodenum. Its main function is to inhibit gastric motility and gastric acid secretion, thereby slowing down gastric emptying and allowing for better digestion and absorption of nutrients in the intestines. This regulation helps maintain an optimal environment for nutrient absorption following a meal.