Bioluminescence occurs through a chemical reaction that produces light energy within an organism's body. For a reaction to occur, a species must contain luciferin, a molecule that, when it reacts with oxygen, produces light. ... Many organisms also produce the catalyst luciferase, which helps to speed up the reaction
Hope i helped you :)