Welding flux is a combination of carbonate and silicate materials used in welding processes to shield the weld from atmospheric gases. When the heat of the weld zone reaches the flux, the flux melts and outgasses. The gases produced push the atmospheric gas back, preventing oxidation (and reactions with nitrogen).