Before Darwin, adaptation was seen as a fixed relationship between an organism and its habitat. It was not appreciated that as the climate changed, so did the habitat; and as the habitat changed, so did the biota. Also, habitats are subject to changes in their biota: for example, invasions of species from other areas. The relative numbers of species in a given habitat are always changing. Change is the rule, though much depends on the speed and degree of the change.
When the habitat changes, three main things may happen to a resident population: habitat tracking, genetic change or extinction. In fact, all three things may occur in sequence. Of these three effects, only genetic change brings about adaptation