Adaptation to environmental conditions