A windmill converts the mechanical energy of wind into _________ energy produced by a generator.
A) heat
B) nuclear
C) chemical
D) electrical