The pancreas is a glandular organ in the digestive system and endocrine system of vertebrates . In humans, it is located in the abdominal cavity behind the stomach . It is an endocrine gland producing several important hormones , including insulin , glucagon , somatostatin , and pancreatic polypeptide , all of which circulate in the blood. The pancreas is also a digestive organ, secreting pancreatic juice containing bicarbonate to neutralize acidity of chyme moving in from the stomach, as well as digestive enzymes that assist digestion and absorption of nutrients in the small intestine . These enzymes help to further break down the carbohydrates , proteins , and lipids in the chyme . The pancreas is known as a mixed gland .