When categorizing walnuts, pistachios, peanuts, hazelnuts, macadamia nuts, almonds, lentils and chickpeas, which would you say are nuts and which are legumes?

Walnuts, pistachios, hazelnuts, macadamia nuts, cashews, and almonds are all nuts. Peanuts, lentils and chickpeas are legumes.