The process by which corals and calcareous algae extract calcium from seawater and produce it as calcium carbonate.