The ability of an organism to alter its physical or behavioral traits in response to environmental cues.