An animal that consumes plants.
Herb is the root for plant, so herbivore is an animal that eats only plants.
An animal that eats other animals is a carnivore, because of the root carn, which is meat.
An animal that consumes plants and animals is an omnivore, hence their root, omni, which means everything.