What is an animal that only eat plants called?

An animal that only eats plants is called an herbivore. Herbivores are animals that have a diet consisting primarily or exclusively of plant material, such as leaves, stems, flowers, fruits, and seeds. They do not consume meat or other animal products. Herbivores play an important role in the ecosystem by consuming plants and helping to maintain the balance of plant populations. Examples of herbivores include cows, horses, deer, rabbits, and giraffes.