process of mineral mining and using earth resources