Dear Mary, Gnats as you mentioned normally are associated with vegetables or fruits. There are other small insects similar to gnats that can be bothersome. Fungus Gnats, midges and Drain Flies are three examples. Most llike moisture or damp areas in the home and a food source of decaying organic matter The Drain Fly is likely to be found in the Bathrooms, Kitchen, Mud room or Laundry Room. A frequent place we overlook is the actual floor drains in our homes. As the furnace continues to dry out our homes, the pests usually lessen and then dissapear. You can add bleach and water mixture to the floor drains to control the Drain Fly. Other choices are Bacteria or Enzyme cleaners too. Once gone, be sure to add water/bleach mixture to the drain on a regular basis. Remember to check your potato and onion storage areas too. Clean the garbage can to eliminate any food sources. Lastly store bought fruits like bananas can be the start of the fruit flys, even in the winter. In out of the way areas you can use a fly strip too.
Sanitation is the best place to start, then consider a Ready To Use household spray and follow label instructions and restrictions as to the surfaces you can apply.
Sincerely, Richard Hentschel