How does Wind Energy Works?

Wind energy is normally harvested through a windmill. The wind causes the blades to spin. The blades are attached to a shaft which is attached to a generator. As the blades are spinning, the mechanical energy is being transformed into electrical energy via the generator.