The magnesium anode rod is a sacrificial component that prevents tank corrosion. It attracts corrosive elements, protecting the steel or copper tank. Screw-type and vacuum-tube-type rods are common for pressurized and non-pressurized systems respectively.