Carnivorous animals eat the flesh of other animals, while herbivorous animals eat plants. The teeth of carnivorous animals are adapted to tearing flesh and are usually long and sharp that serve an added function of puncturing vital organs and killing the prey.
The teeth of herbivorous animals are adapted to cutting and tearing leaves from plants and then crushing them. Therefore, herbivores have sharp front teeth to enable them to cut leaves and flat teeth at the rear of their mouth to enable them to crush the leaves or other plant material that is usually quite tough and fibrous.