There are about 2,000 firefly species. These insects live in a variety of warm environments, as well as in more temperate regions, and are a familiar sight on summer evenings. Fireflies love moisture and often live in humid regions of Asia and the Americas. In drier areas, they are found around wet or damp areas that retain moisture.
Everyone knows how fireflies got their name, but many people don’t know how the insects produce their signature glow. Fireflies have dedicated light organs that are located under their abdomens. The insects take in oxygen and, inside special cells, combine it with a substance called luciferin to produce light with almost no heat.
Firefly light is usually intermittent, and flashes in patterns that are unique to each species. Each blinking pattern is an optical signal that helps fireflies find potential mates. Scientists are not sure how the insects regulate this process to turn their lights on and off.
Firefly light may also serve as a defense mechanism that flashes a clear warning of the insect’s unappetizing taste. The fact that even larvae are luminescent lends support to this theory.
Females deposit their eggs in the ground, which is where larvae develop to adulthood. Underground larvae feed on worms and slugs by injecting them with a numbing fluid.
Adults eschew such prey and typically feed on nectar or pollen, though some adults do not eat at all.
Article Source: http://animals.nationalgeographic.com/animals/bugs/firefly/