The GI tract’s jobs include absorbing nutrients, digesting food, eliminating waste, and defending against illness. It also helps keep your mind healthy by communicating with your brain, which affects your mood and behavior.