I was asked to name the highlighted part of speech in the given sentence.
They while away the evenings with books and games.
the sentence, however didn't felt grammatically correct to me, and I didn't know what the sentence actually meant. So I said verb arbitrarily, which to my surprise was the correct answer. Can anyone explain me what the sentence actually mean and how is while a verb here?