The process of melting ores and reducing them to a metal, such as copper or tin, through heating and chemical reactions.