Herbivores consume producers like plants which contain cellulose in the cell wall of their cells. Digestion of cellulose in the gut takes a longer time and hence, the gut of herbivores is longer than gut of carnivores.