smelting

a process of extracting metal or impurities from its ore by a process involving heating and melting.