The gastrointestinal tract has several major functions:
1. Motility through peristalsis and other contractions to move food through the tract.
2. Secretion of enzymes and hormones to aid in digestion. The stomach secretes 2-3 liters of gastric juice per day.
3. Digestion through the breakdown of food molecules by enzymes to allow absorption in the small intestine.
4. Absorption of digested nutrients through the intestinal walls into the bloodstream.