Lime stone is a flux. Ore contains some impurities which have high melting point.
Flux is used to remove these infusible impurities in the form of fusible slag.
Infusible impurities + flux = fusible slag
In the metallurgy of iron to remove the acidic impurity of SiO2 present, a basic flux lime stone (CaCO3) issued. CaCO3800∘CCaO+CO2 CaO+SiO21000∘CCalcium silicate (slag)CaSiO3