The pancreas is located behind the stomach and in front of the spine. It is shaped like a thin pear and is about 6 inches long. It has both endocrine and exocrine functions. The endocrine cells secrete hormones like insulin and glucagon into the bloodstream to control blood sugar levels. The exocrine cells secrete digestive enzymes into the pancreatic ducts to break down carbohydrates, lipids, and proteins. Common pancreatic diseases include acute pancreatitis, where the pancreas becomes swollen and releases digestive juices into the bloodstream, and chronic pancreatitis, which causes irreversible structural damage.