Complex sentence: They provide a molten cover on the purified metal, preventing it from coming into contact with oxygen while it is still hot enough to readily oxidize which will then prevent impurities from forming in the metal.
Split into simpler sentences: They provide a molten cover on the purified metal, preventing it from coming into contact with oxygen while it is still hot enough to readily oxidize. Which will then prevent impurities from forming in the metal.