how does windmills produce energy
In a windmill, when wind moves the blades of the windmill that move the rotor, the rotor rotates a shaft that holds magnets in the magnetic field of the generator, generating alternating current that is sent along power lines.