.
What do you think peanuts are?
.
Well, nuts grow on tree branches, while peanuts grow underground in the plant root system. That should be the first clue that something is up. As others have noted, peanuts are in the bean (legume) family.
peanuts are legumes, not nuts.