How does groundwater enter earth?

Athrough the water table
Bby infiltration from the surface
Cthrough evaporation from the mantle
Dby being trapped during earth's formation