that kind of food is a peanut
A peanut is a legume (belonging to the same family as soybeans, peas and lentils), not a tree nut. And while it was previously believed that an allergy to peanuts was lifelong, research by the National Institutes of Health shows that about 20 percent of individuals with a peanut allergy eventually outgrow it.