Fireflies or lightning bugs make light within their bodies. This process is called bioluminescence and is shared by many other organisms, mostly sea-living or marine organisms. Fireflies light up to attract a mate. To do this, the fireflies contain specialized cells in their abdomen that make light.
the light comes out of their butts.
They light up to attract a mate