Tree Nut Allergies: coconut, pine nuts, nutmeg. Considered tree nuts? What is the difference between seeds and nuts and fruits?

Are these food items in the same category as peanuts, walnuts, etc? If I tell a patient to avoid all tree nuts, does it mean coconut, pine nuts, nutmeg?