Genetic drift refers to random changes in the frequency of alleles (variants of a gene) within a population. Unlike natural selection, which works on advantageous traits, genetic drift occurs due to chance events. These random changes can significantly impact small populations, leading to the fixation or loss of alleles over time.