What are legumes?

Montage featuring pea and broadbean plants, root nodules, and dried lentils and beans.