The wind that blows is actually powered by solar energy. The heat of sun light absorbed by the atmosphere causes temperature difference across various places in earth. As a result, high and low pressure region of air is formed which eventually causes wind. Thus, we can say that electricity generated by a windmill is another form of solar energy.