What makes a firefly give off light?

The light from a firefly comes from an area on the sides of its stomach.

Fatty tissue located there contains air tubes and nerves that when stimulated give off oxygen.

The oxygen combines with a pigment in the fat called luciferin, producing the familiar heatless light.