Role of water quality and groundwater fluctuations as precursors in sustainable development and management of groundwater resources