Adaptation is the key to understanding both thought and behavior.