Chasing windmills definition

Chasing windmills means pursuing something in vain. John McGowin, owner of McGowin Logging Co. in Chapman, Alabama, is no Don Quixote, the literary character who inspired the expression. Quixote fantasized about being a knight and believed the windmills