Metal oxides can be converted to metal by a process called reduction. For example, Zinc oxide is reduced to metallic zinc by heating with carbon.
ZnO(s) + C(s) → Zn(s) + CO(g)
Besides carbon, highly reactive metals like sodium, calcium, aluminium etc. are used as reducing agents. These displace metals of low reactivity from their oxide, e.g.,
Fe2O3(s) + 2Al(s) → 2Fe(l) + Al2O3(s) + Heat