Any of a class of polycyclic heterocycles that are responsible for the bioluminescence of fireflies, being converted to oxyluciferin by luciferase in the process.