A low resistance electrical circuit is established in the water heater to control corrosion through cathodic protection. Cathodic protection is a form of combating corrosion. It is actually an application of electricity to prevent corrosion because corrosion is essentially a flow of electric current.