Similarly, house flies and fruit flies like sugar — the nectar from plants, the sugars in fruits. The granulated sugar mixed with the high-sugar banana, then, makes the perfect appetizer for any fly.