Researchers are piecing together the unusual chemical reactions that enable dinoflagellates to create spectacular light displays in tropical bays. But the mechanism behind their bioluminescence remains one of nature’s most puzzling chemical mysteries