Does drinking a lot of water help with gains?

I've heard people say to drink a lot of water, but does that help out besides keeping you hydrated?