This was what I was going to point out, peanuts are legumes and in the same family as beans and peas, hence why they are different. I generally prefer them over tree nuts, although a good almond or almond butter is pretty divine. But totally different.