Peanuts Are Not Nuts

Peanuts are legumes, in the same family as beans and lentils.
Peanut pods develop underground after the flower stalk bends down and pushes into the soil. True nuts, such as hazelnuts, grow above ground as hard-shelled fruits.
Check it yourself
Any agricultural reference confirms it. The US Department of Agriculture and state extension services describe how peanuts grow.