Fruit flies are one of the favorite test animals of biologists, mostly because they breed fast (faster than mice, anyway) and are genetically more easier to hack than mammals while they still have a lot common with most of the so-called higher organisms. Along with peas (that Gregor Mendel studied) the fruit flies are canonical thing to illustrate basic genetic concepts, such as genetic inheritance.