Water heaters

Electrolysis is where the ions in the water eat whatever metal it comes into contact with. That is why there is a sacrificial anode rod inside of the case, usually they last the lifetime of the heater. Unless you have highly ionized water, then they need replacing periodically.