Sodium allylsulfonate is a white or light yellow crystalline powder with good antioxidant and electrochemical properties, which is widely used as scale inhibitor and corrosion inhibitor in water treatment, and can effectively prevent scale formation and protect metal pipes.