A material that is produced during the smelting or refining of metals by reaction of a flux such as calcium oxide with impurities in the ore. The slag, which may contain calcium silicate, phosphate, and sulphide, floats on the surface of the liquid metal and can be easily separated. It can be used as a fertilizer if the phosphorus content is sufficiently high.