This document summarizes the endocrine function of the pancreas. It describes the four types of cells located in the islets of Langerhans, with a focus on the cells that secrete insulin and glucagon. Insulin controls blood glucose levels by stimulating glucose uptake and storage, while glucagon increases blood glucose levels by stimulating glycogen breakdown and gluconeogenesis. Both hormones have opposing effects on carbohydrate, protein, and fat metabolism. Somatostatin is also produced in the pancreas and works to inhibit the secretion of insulin and glucagon.