This experiment aimed to determine the effect of female selection on gene frequency in Drosophila melanogaster fruit flies. Virgin female flies with red eyes were crossed with male flies having white eyes, and their offspring were observed over multiple generations. The results showed that female flies mated more often with male flies displaying the same red-eye phenotype, decreasing the frequency of the white-eye gene from 22.72% to 12.31% across generations. This indicates that female selection in Drosophila melanogaster can influence gene frequencies in populations over time by preferring to mate with males exhibiting similar traits.