Why are magnesium ions needed in the firefly light-producing reaction?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

In the firefly light-producing reaction, ionic magnesium is required to facilitate the initial formation of a complex between adenosine triphosphate (ATP), firefly luciferase, and firefly luciferin.12

Specifically, these components react to form a luciferase-luciferyl-adenylate complex and pyrophosphate. This complex is a necessary precursor that subsequently reacts with molecular oxygen to reach a high-energy excited state, which then releases a photon of visible light as it returns to its ground state.12