Polyphosphates are used as water softening agents because they
Form soluble complexes with anionic species
Precipitate anionic species
Forms soluble complexes with cationic species
Precipitate cationic species
Polyphosphates (sodium hexametaphosphates, sodium tripolyphosphate or STPP) from soluble complexes with Ca+2,Mg+2 present in hard water.