Legume

Any plant that is a member of the pea family (Leguminosae) that have seeds in pods. They include beans, lentils, peas and peanuts.