Genetic drift is a mechanism of evolution that causes changes in allele frequencies through random chance events rather than natural selection. It is most prominent in small populations where random fluctuations can have large effects. Two types of genetic drift are the bottleneck effect, which occurs when a population is severely reduced in size, and the founder effect, which occurs when a new population is established by a small number of individuals from a larger population. Both types can result in the loss of genetic variation within populations.