It is commonly associated with humans in house and hence the name housefly. The most common species Musca Domestic is found all aver the world. The life cycle consists of 4 stages namely-eggs, larva (maggots), pupa and adult fly consisting total 6 to 12 days under optimum conditions. The files breeds on decaying, fermenting, rotting, organic waste matter in garbage, waste from food processing, or cow dung, horse dung waste.
Eye gnats breed and develop in moist, well-drained sandy soils with abundant organic matter. They can potentially spread organisms that cause diseases. Eye gnats have become more of a problem for humans and domesticated animals as a result of increased agricultural activities, particularly those activities where plant waste is tilled into the soil prior to replanting of fields. Trapping can provide some relief from eye gnats when coupled with the use of repellents. Insecticide treatments to kill larval populations in the soil are ineffective, but drying soils out will reduce egg laying and adult emergence.