The organs and structures involved in the digestion and absorption of food, as well as the elimination of waste products.