Mining for mineral resources can often lead to deforestation, as large areas of land need to be cleared to make way for mining operations. This can have a devastating impact on local ecosystems, as trees provide a habitat for a wide variety of plants and animals. Deforestation can also lead to soil erosion, as the roots of trees help to hold the soil in place.