The decline of species and ecosystems as a result of habitat destruction, pollution, and climate change.