To find a mate among fireflies, nothing beats a light signal. Welcome to the world of bioluminescence.