Spinning blades turn a shaft; a gear box transfers energy to a generator, producing electricity.
Wind is sporadic, and needs storage (batteries) for calm periods.
Local residents may exhibit Not-in-my-backyard (NIMBY) syndrome, opposing these structures in the neighborhood.