Biodiversity hotspots are defined by high species richness and a high proportion of endemic species that are under threat. Species diversity generally follows a latitudinal gradient, being highest near the equator and decreasing towards the poles. Conservation efforts can be implemented in situ (in the organism's natural habitat) or ex situ (outside the natural habitat, like in zoos or gene banks).