Are sweet peas a vegetable?

Can you answer this question?