Among tree nuts and peanuts, Bazilian says walnuts have the greatest amount of polyphenols. These are antioxidant plant compounds that may play a beneficial role in promoting health in a variety of ways, including heart health, cognitive health, inflammation, and certain types of cancer.