Heterotrophs are organisms that consume other organisms in order to gain energy. Compare two different categories of heterotrophs in terms of how they obtain energy. Explain your answer in one to two sentences.

Herbivores obtain energy by consuming plants, while carnivores obtain energy by consuming other animals.