Primary production of steel usually involves using a blast furnace to produce molten iron from iron ore, coal, and coke, using fluxing agents such as limestone to remove impurities. The molten iron (pig iron) is then converted into steel by a BOF. Secondary production facilities typically use an EAF, with scrap providing the main input.