It is part of the digestive system and produces insulin and other important enzymes and hormones that help break down foods. The pancreas has an endocrine function because it releases juices directly into the bloodstream, and it has an endocrine function because it releases juices into ducts.