Give me a one line summary about smelting

Smelting is the process of extracting metals from their ores by applying heat and a chemical-reducing agent to drive off non-wanted materials as gases and leaving the base (wanted) material behind.