Larvae are aquatic and found in even the smallest pond or bucket of water. Adults fly and are found in most habitats.
More about the common gnat and similar species
Larvae are found in mud and decaying vegetation in still waters.
More about Chironomous and similar species
Larvae found in and on fungi and decaying vegetation, adults near fungi.
More about fungus gnats and similar species
Larvae found inside galls on vegetation especially leaves on trees, adults found nearby.
Adults usually have a body length less than 5 mm.