The digestive system, including the length of the small intestine, is adapted to the diet of the animal. Herbivores have longer intestines than carnivores due to the difficulty in digesting plant cellulose.