Purpose of smelting of an ore is (a) To oxidise it (b) To reduce it (c) To remove vapourisable impurities (d) To obtain an alloy