Larvae of fungus gnats feed on algae, fungi and plant roots in the growing medium, I don't think they do a 'lot' of damage to mature plants, but can hurt seedlings and can spread disease. They thrive in moist environment, so not overwatering is a preventative. Also, you can lay a layer of...