Don Quixote battles windmills because he believes that they are menacing giants. He feels that after defeating them, he will be able to call himself a true knight.
Don’t think he can take on these modern day wind turbines. Too high tech. You can only fight these with lasers. These wind turbines are located in the Tehachapi Mountains of California.