Trees aren't indispensable to environment.
A good environment is indispensable to the growth of trees.
Trees can be used to reduce water runoff and soil erosion.
Some trees are indispensable to some special industrials.