Question: do fruit flies lay eggs?
Answer: Fruit flies lay their eggs near the surface of fermenting foods or other moist, organic materials. Upon emerging, the tiny larvae continue to feed near the surface of the fermenting mass. ... Fruit flies are especially attracted to ripened fruits and vegetables in the kitchen.