Which of the following is the primary function of groundwater?

A. fighting fires
B. supplying homes with drinking water
C. irrigating crops
D. mining