If you've noticed tiny, dark insects flying around your houseplants, you likely have fungus gnats. These tiny flies can be a nuisance indoors and may also damage your plants. Fungus gnats lay their eggs in moist soil and their larvae feed on plant roots and decaying organic matter.