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.