What is the meaning of Whim?

A fanciful impulse, or sudden change of idea.

A large capstan or vertical drum turned by horse power or steam power, for raising ore or water, etc., from mines, or for other purposes

To be seized with a whim; to be capricious.

A bird, the Eurasian wigeon.

Source: wiktionary.org