A. The pancreas has two main functions. It produces substances called enzymes that aid in the digestion of fats, carbohydrates and proteins. It also produces hormones that regulate different functions of the body. The two main hormones produced by the pancreas are insulin and glucagon.