The capacity of an organism to adjust to changes in its environment through physical or behavioral modifications.