The pancreas is an accessory organ of the digestive system that produces and secretes digestive enzymes, such as pancreatic amylase, into the duodenum of the small intestine to chemically break down carbohydrates. Food does not pass through the pancreas itself, and peristalsis is carried out by the muscular walls of the digestive tract. Pepsin is secreted by the stomach, not the pancreas.