Boredom is a condition characterized by perception of one's environment as dull, tedious, and lacking in stimulation. This can result from leisure and a lack of aesthetic interests. Labor and art may be alienated and passive, or immersed in tedium. There is an inherent anxiety in boredom; people will expend considerable effort to prevent or remedy it, yet in many circumstances, it is accepted as suffering to be endured. Common passive ways to escape boredom are to sleep or to think creative thoughts (daydream). Typical active solutions consist in an intentional activity of some sort, often something new, as familiarity and repetition lead to the tedious.
Then, after a baseline EEG test measuring normal brain activity, the researchers assigned the participants a tedious task: they had to turn eight virtual pegs on a screen as the computer highlighted them. This activity lasted approximately 10 minutes, during which time the researchers used EEG caps to measure participants’ brain activity as they carried out the boring task.

The French loanword ennui comes from the very same Late Latin word that gave us annoy — inodiare ("to make loathsome"). We borrowed ennui several centuries after absorbing annoy into the language. Ennui deals more with boredom than irritation - and a somewhat specific sort of boredom at that. It generally refers to the feeling of jadedness that can result from living a life of too much ease. The poet Charles Lloyd described it well in his 1823 Stanzas to Ennui when he referred to that world-weary sensation as a "soul-destroying fiend" which visits with its "pale unrest / The chambers of the human breast / Where too much happiness hath fixed its home."