Depending on the chemicals in the soil, the pH of water passing through it increases, decreases or remain the same. In areas where water passes through soil containing limestone, dissolving the calcium carbonate in water creates a buffer solution, tying up the hydrogen or hydroxyl ions in the water so the pH becomes less likely to change