A pea is most commonly the small spherical seed or the seed-pod of the legume. Each pod contains several peas. Although it is botanically a fruit, it is treated as a vegetable in cooking.