The Peanut also called groundnut is  a legume crop grown mainly for its edible seeds.
It's interesting to think that a peanut is actually a legume- I always forget that. Have you ever had boiled peanuts? They are popular in the Southern us. 
Yes they are very tasty when salted. They are planted mostly in tropics and subtropics regions
I wonder why so many people have peanut allergies now?
Peanut
The peanut, also known as the groundnut, goober (US), or monkey nut (UK), and taxonomically classified as "Arachis hypogaea," is a legume crop grown mainly for its edible seeds. It is widely grown in the tropics and subtropics, being important to both small and large commercial producers. It is classified as both a grain legume and, due to its high oil content, an oil crop. World annual production of shelled peanuts was 44 million tonnes in 2016, led by China
Ghana and Nigeria, boiled peanuts are eaten as street food. They are also popular in the KwaZulu Natal region of South Africa, especially in Durban.
Historically, the Bambara groundnut was eaten boiled much like a boiled peanut in much of Africa. Following the introduction of peanuts to Africa in the 16th century, they largely displaced the Bambara groundnut in cuisine.
Regional variations Asia.
In China, peanuts are generally boiled with a little salt, sometimes with star anise.
Boiled peanuts in Taiwan are called "tǔdò