Answer explained
The method depends on metal reactivity and ore type. A general sequence is:
Concentration
Remove gangue such as soil and sand to increase the useful mineral proportion.
Conversion to a suitable compound
Carbonate ores may be calcined to oxides: ZnCO₃→ZnO+CO₂. Sulphide ores may be roasted in air: 2ZnS+3O₂→2ZnO+2SO₂. These are alternatives for different ores, not compulsory consecutive steps for every ore.
Obtaining the metal
Moderately reactive metal oxides may be reduced with carbon: ZnO+C→Zn+CO. Very reactive metals such as sodium and aluminium require electrolysis of suitable molten compounds. Some less reactive metal compounds can yield metal on heating.
Refining
Purify the crude metal by an appropriate method. In electrolytic copper refining, impure copper is the anode and a pure copper sheet is the cathode.
Sequence: concentration → suitable chemical conversion → reduction/electrolysis → refining.