The generators contain turbines that rotate working with kinetic energy of every other resource such as water in dam, steam, wind and so forth. On rotation in the turbine, the magnetic industry & conductors interacts with each other & generates electricity.It is actually made of several electrical & electronic elements linked collectively working w