Genetic diversity refers to the variety of genes within a species or population. It is crucial for the long-term survival of a species as it allows for adaptation to changing environments, resistance to diseases, and overall resilience. High genetic diversity can help populations thrive, while low genetic diversity can make them more vulnerable to threats such as environmental changes or diseases.