In metallurgy, a flux is a chemical reducing agent, flowing agent, or purifying agent. Fluxes may have more than one function at a time. They are used in both extractive metallurgy and metal joining. They are named for the ability to make molten metals easier to flow during smelting.
Some of the earliest known fluxes were sodium carbonate, potash, charcoal, coke, borax, lime, lead sulfide and certain minerals containing phosphorus. Iron ore was also used as a flux in the smelting of copper. These agents served various functions, the simplest being a reducing agent, which prevented oxides from forming on the surface of the molten metal, while others absorbed impurities into slag, which could be scraped off molten metal.