The Lampyridae are a family of elateroid beetles with more than 2,000 described species, many of which are light-emitting. They are soft-bodied beetles commonly called fireflies, lightning bugs, or glowworms for their conspicuous production of light, mainly during twilight, to attract mates. Light production in the Lampyridae is thought to have originated as an honest warning signal that the larvae were distasteful; this was co-opted in evolution as a mating signal in the adults. In a further development, female fireflies of the genus Photuris mimic the flash pattern of Photinus species to trap their males as prey. (Source: Wikipedia.org, CC BY-SA)