Ex-situ conservation involves the preservation of species outside their natural habitats to safeguard against threats such as habitat destruction and climate change. This method includes practices like zoos, botanical gardens, and seed banks, providing a controlled environment to support breeding programs and genetic diversity preservation.