A coral reef is made of thin layers of calcium carbonate. Coral polyps form a living mat over a calcium carbonate skeleton. Stony corals (or scleractinians) are the corals primarily responsible for laying the foundations of, and building up, reef structures.