Ecological succession is the gradual replacement of one community by another over time. Primary succession occurs when a community is wiped out, such as after a volcanic eruption, and pioneer species are the first to colonize an otherwise lifeless area. Secondary succession occurs when an existing community is replaced, such as after a forest fire, and the pioneer community establishes a new ecosystem that eventually matures into a climax community.