1) The document studies the corrosion behavior of magnesium and its alloys AZ91, AM50, and AM60 in a 0.5M Na2SO4 solution using potentiodynamic polarization curves. 2) The results show magnesium has poor corrosion resistance and does not form a protective surface layer. Its alloys show improved corrosion resistance, with AM50 and AM60 performing best. 3) Aluminum and manganese addition are found to improve corrosion resistance by forming protective oxide layers on the alloy surfaces and trapping impurities like iron within intermetallic compounds.