Mark an item (such as an empty potion bottle) and then use the apply command while standing over a fountain for a chance to fill the bottle (or other objects) with water for drinking.