Flux is used to remove (a) Acidic impurities (b) Basic impurities (c) All impurities from ores (d) Both (a) and (b)