While “nut” is in their name, peanuts are in fact legumes. Peanuts actually grow underground,as opposed to nuts like walnuts, almonds, etc. that grow on trees (and are sometimes referred to as “tree nuts”).
Peanuts, along with various types of beans and peas, belong to the single plant family, Leguminosae. Legumes are edible seeds enclosed in pods. As a group, they provide the best source of concentrated protein in the plant kingdom. While their physical structure and nutritional benefits more closely resemble that of other legumes, their use in diets and cuisines more closely resembles that of nuts.