The world needs a new source of energy, an unspillable source.

How does a hydroelectric generator work?

I have a school paper due tomorrow, and I need to know how it works in DETAIL. I already have some, but can anyone help with the parts of the generator or something?