importance of chemistry to mining