importance of chemistry in mining