Bioluminescence is the emission of light by living organisms. It is produced through reactions in bacteria that involve the lux genes which code for the enzymes (luciferase and luciferin) required for bioluminescence. The expression of these genes is regulated by quorum sensing, where small signal molecules produced by the bacteria allow gene expression to be adjusted based on cell density. Bioluminescence is found across many marine species and is used for purposes like defense, communication, and mating. It has also been applied in molecular biology for assays and to monitor calcium concentrations in cells.