Colonisation of pioneer species that can tolerate harsh environmental conditions.
As the pioneer species die and decompose, they change the environmental conditions, which allows for establishment of more diverse species.
This introduces competition for resources between different species. The less adapted species are out-competed.
Eventually, pioneer species are replaced by successive species better adapted to new environments. Eventually, a dominant species stabilises the environment and evolves into a climax community.