Many (all?) beans grow in pods, too, so maybe “shaped like peas” also means “shaped like beans.” What we know as green beans or wax beans are generally immature bean pods that don’t yet have the seeds forming (and, sure, are grown for eating that way, but if you let them continue, they fill with seeds the way the pods…