How Windmills Operate?

Windmills operate with the direct power from the wind. There is such things as solar windmills which produce power energy. Windmills depend on the wind, and if there is none, then a windmill is just for decoration.