Community ecology is the study of the distribution, abundance, demography, and interactions between populations of coexisting species within a community. The structure of a community refers to its diversity, population sizes, appearance, and interactions between species. Ecological succession describes predictable changes in the composition or structure of a community over time and occurs through primary succession in lifeless areas or secondary succession where a previous community was removed.