What is the meaning of the word "frivolously"?

Definitions:

  1. in a frivolous or foolish manner copy to clipboard adverb
    • They spend their time frivolously. copy to clipboard