From deserts to flooded fields, plants have evolved incredible ways to survive in challenging environments.