Lampyridae are a family of light-emitting beetles with more than 2,000 species. They are commonly called fireflies, lightning bugs, or glowworms for their conspicuous production of light, mainly during twilight, to attract mates. Light production is thought to have originated as a warning signal in their larvae, indicating distastefulness and alter co-opted in evolution as a mating signal in the adults.
Fireflies are found in both temperate and tropical areas, living in marshes or in wet, wooded areas where their larvae have abundant sources of food. While all known fireflies glow as larvae, only some species produce light in their adult stage. The location of the light organ varies between species and between sexes of the same species.