A windmill and a wind turbine are different in structure and purpose, even though many people use the terms interchangeably. A windmill is a very old technology that uses the wind to either mill grains into flour, drive machines, or move water. A wind turbine converts wind energy into electricity by turning a turbine. [Source]
For anyone curious: