Genetic drift is the mechanism by which allele frequencies fluctuate unpredictably from one generation to the next due to random sampling effects. In small populations, genetic drift can have a more pronounced effect, leading to the fixation or loss of neutral mutations. In larger populations, the effect of genetic drift is diminished, but it still plays a critical role in the fixation of neutral alleles.