Yes, the legume family includes beans, peas, and lentils. Like with all legumes, they grow inside of pods, and are actually the plant's seeds.