The gastrointestinal (GI) tract is a complex system that extends from the mouth to the anus, responsible for digestion, absorption of nutrients, and elimination of waste. It includes various organs such as the mouth, esophagus, stomach, small intestine, large intestine, rectum, and anus.