How do plants deal with harsh environmental conditions?

They adapt to where they live.