Lawn gnats, also known as fungus gnats, are little insects that resemble mosquitoes and are often seen hovering above the grass in large swarms. The invasive species thrive in wet soils and decomposing plant matter, and their numbers skyrocket whenever there are extended periods of hot and rainy weather.