Here's why:
* Digestive function: The pancreas produces digestive enzymes that are crucial for breaking down food in the small intestine. These enzymes include amylase (for carbohydrates), lipase (for fats), and protease (for proteins).
* Endocrine function: The pancreas also has an endocrine function, producing hormones like insulin and glucagon that regulate blood sugar levels.
While the pancreas has an endocrine role, its primary function is in the digestive system.