Why do we get bored?

Boredom appears when your brain wants something more challenging or meaningful to do.