a pea, although treated as a vegetable in cooking, is botanically a fruit; the term is most commonly used to describe the small spherical seeds or the pods of the legume pisum sativum. this was the original model organism used by gregor mendel in his early work on genetics.