Why do gnats fly together above the lawn?

See this link: http://www.earthsky.org/shows/show.php?date=19800220 It is usually called a mating swarm. The males are searching for females to mate with. Many people confuse mosquito swarms with gnat swarms because they look similar at a distance.