what is the purpose of the mining industry