For years, scientists have known the basic ingredients behind a firefly’s light. But a new study explains the process behind the backyard light show.