The pancreas is a dual-function organ. Its exocrine function includes the secretion of digestive enzymes like trypsinogen, which is converted to trypsin in the digestive system.