What produces the electrical energy from the water?

Generator