It depends on how the animal eats and what their diet is. A herbivore is an animal that eats only plants, while carnivores are usually predators.
Herbivores are an important part of the ecosystem. They can greatly influence the composition of the plant community, the structure of the food web, and the functioning of the ecosystem. Herbivores include horses, cows, goats, sheep, deer, camels, and bison.
Animals that eat mostly other animals are considered carnivores. They include canines (dogs, wolves, foxes, jackals, and the extinct dire wolf), felines (cats, lynxes, and the extinct serval and caracal), and mustelids (weasels, martens, badgers, and otters).