Variety of plants support the growth of population of herbivores, which are further eaten by carnivores.
Further decomposers act on these dead and decaying plants and animals to convert them into humus.
This humus is responsible for enriching the soil with nutrients, thus aiding the growth of new plants in forest.
Thus, variety of animals and plants in the forest plays an essential role in maintaining the ecosystem of forest