The gastrointestinal tract is the bodily system more commonly known as the digestive system. It is a system of organs that are mainly concerned with taking in food, digesting it, getting nutrients, and releasing waste. So basically, the function of the GI tract is to digest and excrete.