Evolution alters the species so as to adapt it to the environment in which it resides.
(Evolution; alters; the species; so as to adapt it to the environment) (it; resides; L:the environment)
Evolution it
alters resides
the species so as to adapt it to the environment
L:the environment