Pancreas is called mixed gland because pancreas releases the juices directly into the blood as well as through the ducts. Thus it acts as endocrine as well as exocrine gland.
The most important hormone that the pancreas produces is insulin. Insulin is released by the 'beta cells' in the islets of Langerhans in response to food. Its role is to lower glucose levels in the bloodstream and promote the storage of glucose in fat, muscle, liver and other body tissues.
Two of the main pancreatic hormones are insulin, which acts to lower blood sugar, and glucagon, which acts to raise blood sugar.The pancreas is controlled by both the autonomic nervous system (ANS) and the endocrine system.