Slag, by-product formed in smelting, welding, and other metallurgical and combustion processes from impurities in the metals or ores being treated. Slag consists mostly of mixed oxides of elements such as silicon, sulfur, phosphorus, and aluminum; ash; and products formed in their reactions with.