The pancreas has dual roles - it is an organ of the digestive system and of the endocrine system. The exocrine pancreas produces enzymes that help to digest food, particularly protein. The endocrine pancreas makes the hormone insulin, which helps to control blood sugar levels.
@Peachpetal