Fruit flies always spread them in our homes by bringing them from cut fruits. Some of these infections are so dangerous that they take us to the hospital and many illnesses can also prove to be fatal.
Fruit flies are primarily attracted to moist, fermented fruits and vegetables. However, they are also attracted to things like drains and garbage disposal containers.
https://pixabay.com/nl/photos/natuur-insect-vlieg-fruit-fly-4434601/
Fruit flies are attracted to the smell of ripe fruits and vegetables, commonly found in your kitchen. Alcohol and sugary drinks are also good food for hungry fruit flies. They are the most apparent attractants, but non-food items can also attract fruit flies, especially cleaning supplies, empty bottles and cans, garbage bags, cleaning rags and mops.
To keep fruit flies away from the house, the house should be disinfected daily with a disinfectant, cut rotten fruits should not be kept in the house for a long time, do not throw food items here and there, dispose of the garbage daily, and clean the drains regularly.
This is the link of post of @maiannewest:-
@mariannewest/day-1862-5-minute-freewrite-sunday-prompt-fruit-fly