Well, as far as I know a peanut is classified as a legume crop
The peanut is a legume- you eat them. They are delicious! I know a lot about them if you have any questions.
What are  peanuts
The peanut, also known as the groundnut and the goober and taxonomically classified as Arachis hypogaea, is a legume crop grown mainly for its edible seeds.
Что такое арахис
Арахис, также известный как земляной орех и губер и таксономически классифицируемый как Arachis hypogaea, является бобовой культурой, выращиваемой главным образом из-за его съедобных семян.