When plants are infected by pathogens, suffer from a lack of water or have to react to other external stimuli,…