The stomach and intestines. The gastrointestinal tract is part of the digestive system, which also includes the salivary glands, mouth, esophagus, liver, pancreas, gallbladder, and rectum.