Groundwater is formed through the process of infiltration, where precipitation (rain or snow) seeps into the ground and percolates downward through the soil and rock layers.
As the water moves through the ground, it dissolves minerals and can pick up contaminants, which can affect its quality.