It refers to the variety of genes within a species that help it to adapt to changes in its environment. This type of biodiversity is important to ensure the resilience of populations against environmental challenges such as disease, climate change and habitat loss.