Wind energy is actually caused by the sun warming up the air.
Humans have been using the energy of the wind for centuries. Windmills have been used to mill wheat and pump water.
These days we use huge wind turbines and group them together in wind farms to harness the energy of the wind to make electricity.