How does the salt affect a pool heater? Is it corrosive?

Thanks!

Scarlett