The pancreas is located in the upper abdomen outside the peritoneum, horizontal in the second lumbar vertebrae, mainly including exocrine and endocrine functions, secretion of pancreatic fluid, insulin and glucagon. The pancreas grows outside the peritoneum and is divided into four parts: the head, neck, body and tail, which are horizontal to the second lumbar vertebrae. The right side of the head of the pancreas is wrapped by the duodenum, which is difficult to be touched by abdominal examination. It is located in the upper abdomen, under the xiphoid process, with exocrine and endocrine functions, and is the digestive gland second only to the liver, producing pain in the upper abdomen. The exocrine function is the secretion of pancreatic juice, which contains a variety of digestive enzymes, including elastase, trypsin, pancreatic amylase, pancreatic lipase, pancreatic phospholipase, etc., which are involved in the digestion and absorption of proteins, fats, and sugars; and the endocrine function is related to the pancreatic islet cells, which are mainly involved in the balance of glucose, and the secretion of hormones such as insulin, glucagon, and growth inhibitor. If you want to know more, it is recommended to consult a professional doctor.