The correct answer is known as "Ecological Succession".
Ecological Succession refers to the procedure of changes inside the species shape of an ecological community over the years. The time scale may be considered within many years or maybe a hundred of thousands of years after a mass extinction. There are two known classifications of Ecological Succession, known as Primary and Secondary.