Beans are legumes, which are plants that produce their fruits in pods. The pod is a type of fruit that contains seeds, and thebean itself is the seed within the pod.