At each stage there is potential for polluting the water.
There is also a natural purifying process as the water percolates through rocks.