They pump water up to it at night (when there is excess energy in the power grid), and let the water out in the day when the demand for energy is high (turning some turbines on its way down).
Prior to visiting I had an intellectual understanding of the concept of pumped storage [1], but I have to admit that it's one heck of an experience when you see it up close and personal. My thoughts standing at the edge of this massively perfect-circle deep lake full of water: "somebody built that... and it's one BIG BATTERY".
If you get a chance to visit one of these, I highly recommend it!
[0] https://en.wikipedia.org/wiki/Seneca_Pumped_Storage_Generati...
[1] https://en.wikipedia.org/wiki/Pumped-storage_hydroelectricit...