Metallurgy
Ores are rocks that have a chemical compound of a metal with oxygen, called an oxide. Separating the oxygen from the metal is called smelting.  This is done with chemistry or electricity, usually at very high temperatures.  This is the first step in metallurgy. A rock containing enough metal to be profitable is called ore.