Gnats and flying insects. Trash cans and flying insects. Gnats
You will find that mosquitoes, gnats and other flying insects are attracted to your kitchen and trash / rubbish due to the household waste and the items that you are preparing in the kitchen. Generally speaking peelings and rotten food fruit and vegetables are the main culprits.
So to cut down on mosquitoes, gnats and other flying insects around the kitchen and trash cans / rubbish bins, either wash all peelings, the inside of the cans, etc, Or get a zip lock bag and put all scraps in bag, then throw away when full.
Regular washing of your trash can / rubbish bin is always a good idea or at the very least pour disinfectant in there from time to time.