We normally think of purifying as to do with drinking water. The water that you find in rivers and lakes is often not fit to drink because it contains many microbes that could make us ill. It may also contain chemicals that could be harmful.
Water treatment works are found next to many towns and cities. They take untreated water and then pass it through many stages until all of the chemicals, microbes, sand, silt and clay have been removed.