Mining provides us with the building blocks of modern society, but much of the energy used to get minerals out of the ground, and process them, today comes from fossil fuels.