The aluminum anode rod for water heaters is a sacrificial anode that prevents corrosion of the inner tank through electrochemical principles.