Phosphonates soften water and are resistant to corrosion. They are most commonly used in cosmetics and shampoo.