Islam considers that all the creatures in the universe have their own lives, their own procreation, their own language and mode of communicating, and their own senses, which are particular to each kind of creature. So it all glorifies and worships its Lord in its own special way. Therefore, one must not cut down trees and grass unnecessarily, but only for one's uses. However, if the plants etc, are rooted and cut out accidentally, it will not be sinful as the Prophet said (to the nearest meaning),"My followers will be not counted for their mistakes and forgetfulness."
Also, with regard to trees that a person may have planted in his home or garden, there is no sin in cutting them down.
It is permissible to uproot grass and wild plants in parks.