Heterozygosity refers to the presence of different alleles at a gene locus within an organism's genome, contributing to genetic diversity and adaptability. It plays a crucial role in evolution and population genetics by influencing traits, fitness, and the potential for adaptation to environmental changes.