Definitions of whim:

  • noun:   an odd or fanciful or capricious idea
    Example: "He had a whimsy about flying to the moon"
  • noun:   a sudden desire