Plants can only continue to thrive if they can stay alive long enough to produce new seeds.
This is no easy task. Plants may be burned by fire, they may be frozen in winter and they may die from drought.
Most dangerous of all plants are the food on which all animals depend.
So plants have to develop ways of surviving in spite of all of these problems.