Answer:
The pancreas consists of two functionally distinct parts: an exocrine part that produces digestive secretions that are discharged into the duodenum via a system of ducts, and an endocrine part consisting of the islets of Langerhans, which secrete insulin and glucagon to regulate carbohydrate metabolism.