Having the ability to adapt to changes in the environment is critical for an animal's survival.
(Having the ability; is; critical for an animal's survival)
Having the ability
is
critical for an animal's survival