One reason why diversity within ecological communities does not increase unchecked on long timescales could be because resources used by species, such as food and space, are finite. Competition for these resources may prevent new species invading ecosystems and lead to a balance between rates of speciation and extinction. After the origins of major groups of animals, or large-scale ecological disruptions like mass extinctions, though, increases in diversity may happen abruptly – on geological, if not human timescales – and are again followed by long periods where no increases occur.