Calcium and magnesium are important for coral calcification, carbon dioxide and bicarbonate are essential to photosynthesis and coral calcification, trace elements such as zinc and iodine are used by corals and symbionts for enzyme function and possibly hormone production, and oxygen is important for respiration.