chemical processes of extracting metals from the ore