India has a variety of forests because India is in a tropical zone which is favourable for the forests, it has various kinds of soils which are suited for different kind of plants and trees.
Rainfall is also different in a different part of India as well as the Climate.
all these factors result in a variety of forests in India.