Mine site restoration is an environmental benefit of mining, as once a mine is no longer active, it can be used for urban development, industry, agriculture or habitat restoration. However, this depends on the location, access, topography and any residual problems such as spoil heaps which contain toxic wastes. For example, agriculture is only possible if the land is flat, no toxic materials are present and the soil is fertile.