Magnesium Rod

What is the purpose of a magnesium rod inside a water heater?
can someone tell me what the purpose of a magnesium rod within a water heater is? thanks!
This is a sacrificial anode. It slows the corrosion inside the glass-lined steel tank. They are magnesium, zinc and aluminum - different breed of different need. For more information about anode rods water heater: http://water-heater-quick-guide.com/water-heater-anode-rod.html
Magnesium Rod
Magnesium Rod











