In the study, the researchers counted all tree nuts, as well as peanuts (which are technically legumes), in their tally. When they analyzed results exclusively with tree nuts and exclusively with peanuts, the health and longevity benefits increase for both types of nuts. Health advantages of individual types of tree nuts versus others weren’t assessed in this study, nor has this typically been directly examined in other studies.