Lentils are considered legumes and are related to beans, soybeans, chickpeas and peanuts.