Is boredom an emotion or a thought?

“I’m bored” comes up often – I don’t know how that feels in my body so I was wondering if it’s a thought. I know what restless feels like. Could that be the emotion? When I think “I’m bored?” Or do I need to sit with boredom to discover that in my body?