Most Drosophilidae breed in rotting material where they feed on yeast and bacteria, but there are also species that attack whole fruits.
In the context of Drosophilidae breeding habits, most species thrive in rotting materials and feed on yeast and bacteria, whereas some species also have a more generalist approach and attack entire fruits.