The sacrificial anode is designed to attract minerals and impurities in the water which would otherwise react with the inside of the tank and cause it to rust and deteriorate.