Cold light from chemistry
A firefly is a beetle with a lantern in its abdomen. The light comes from a chemical reaction: a substance called luciferin combines with oxygen, guided by an enzyme called luciferase, and the energy released comes out as light rather than heat.
The reaction is astonishingly efficient — nearly all the energy becomes light, where an old filament bulb wasted most of its energy as heat. Because the glow is cold, the firefly can carry its lantern inside its own body without cooking itself.
Flashing in code
The firefly controls its light by controlling the oxygen supply to the lantern, switching the glow on and off in precise patterns. Each species has its own code — a number of flashes, a rhythm, a flight path drawn in light — and males advertise while females answer from the grass.
The conversation is species-specific for good reason: a female only replies to the pattern of her own kind. Even the larvae glow, probably as a warning — fireflies taste bitter, and the light tells predators to remember the lesson.
A signal that can be faked
Not every answering flash is honest. Females of the firefly genus Photuris cannot make some defensive chemicals themselves, so they imitate the reply flashes of other species. When a hopeful male lands beside them, they eat him — and absorb his protective chemicals.
Artificial light is now jamming the whole conversation. In brightly lit areas, fireflies struggle to see each other's signals, one reason their numbers are falling in many places. A dark garden is a genuine help. Where skies stay dark, a summer field can hold thousands of these conversations at once, each pair flashing in the black.


