It varies, from pointy spines to poisonous oils to gross fruits and so forth! Animals can’t eat us if it hurts!
Many plants give up on defense and instead focus on being everywhere and overrunning everything. Strength in numbers!
Some are just impossible to bite into! Ever see a deer eat a tree? Nope!
Some eat bugs! It’s gross and unnatural, but it happens!