Alum is used to purify water since it acts as
Bactericide
De-odorant
Softener
Coagulant
Al3+ ions in potash alum (K2SO4.Al(SO4)3.24H2O) coagulates mud particles in water