Reefs are magnificent edifices, hosting about 25% of marine species, yet they remain largely unknown. What is the origin of these natural structures?