physical and chemical processes to extract a metal from an ore