Ecosystems are dynamic communities of living organisms that interact with each other and their non-living environment. Primary succession occurs when organisms first colonize an area that previously had no ecosystem, such as new volcanic land, and gradually establish equilibrium over hundreds of years through pioneer species that establish soil. Secondary succession more rapidly restores an existing ecosystem after a disturbance like fire or logging by taking advantage of existing soil and seeds. Both types of succession help maintain equilibrium in ecosystems over time.