Lakes, rivers, or springs can form when:

limestone dissolves
groundwater reaches the surface
sand, silt, and clay are deposited
rain water seeps into the ground