There are many different small gnat or gnat like insects that have lived happily outdoors all summer. As cooler weather approaches they begin to seek out warmer locations. Most fungus gnats feed on organic matter like landscape mulch, decaying leaves, composts, etc. The insects typically die once cold weather arrives and stays for several days. You may find relief using a common aerosol fly spray when they are present in large numbers outdoors.