When added to water, alum causes impurities to coagulate into larger particles. These can then be easily removed, leaving the water cleaner.