Plants defend against herbivores through various mechanisms such as producing toxic chemicals, thorns, spines, or prickles, having tough and indigestible leaves, emitting deterrent scents, and using mimicry to resemble harmful plants or insects. These defenses help deter herbivores from consuming them and protect the plant from harm.