Water is required for any character's survival. Drinking it relieves their thirst. It is the only way to relieve thirst.
|“||It's important to drink regularly in the desert heat. Press [Inventory] to view info on your selected character, if their thirst bar gets too high they will need to drink something. (They will do this automatically when you're not controlling them)||”|
— In-game Description