Caenorhabditis elegans and Drosophila melanogaster

What contribution(s) has research using Caenorhabditis elegans and Drosophila melanogaster made in the study of animal behaviour and population genetics?