The pancreas is an organ of the digestive system and endocrine system of vertebrates. In humans, it is located in the abdomen behind the stomach and functions as a gland. The pancreas has both an endocrine and a digestive exocrine function.
Pancreas is known as heterocrine organ because it produces insulin into the blood and function is known as endocrine and exocrine function is which the enzymes enter into digestive path.