what is the role of chemical analysis mining industry