Mechanisms of protection in plants