Botanically speaking, a peanut is a legume, which is the same family as beans (Fabaceae). Therefore, in that sense, peanuts are related to beans.
Understanding Legumes
Legumes are plants that bear fruit (pods) containing seeds. This family includes beans, peas, lentils, soybeans, and, yes, peanuts. A key characteristic of legumes is their ability to fix nitrogen from the atmosphere, enriching the soil.
Peanuts: A Closer Look
Peanuts, scientifically known as Arachis hypogaea, develop underground, unlike many other legumes whose pods grow above ground. While we often call them "nuts" and use them culinarily as such, their botanical classification as a legume is well-established.
Summary
So, while peanuts are often referred to as nuts in everyday language and culinary applications, they are technically legumes and belong to the same plant family as beans.