The pancreas is a gland located behind the stomach that has both exocrine and endocrine functions. It produces enzymes to help digest food and hormones like insulin and glucagon to regulate blood sugar. Disorders of the pancreas include diabetes, pancreatitis, and pancreatic cancer. Diabetes occurs when the pancreas does not produce enough insulin (Type 1) or when the body does not respond properly to insulin (Type 2).