How is energy transformed in windmills?
Essentially what occurs is that as the energy from the wind rotates the vanes of the mill, coils of wire move inside a permanent magnet (generator) and generate electric voltage/current. This current is then goes onto the grid and used by us as electricity another form of energy. This is a very easy explanation and there is a lot more in the design of the system.