Scleractinian corals are the main reef builders in modern oceans, as they have been for much of the Mesozoic and Cenozoic.
These corals are successful because many of the taxa are hermatypic, that is, they have a symbiotic relationship with algae, which allows the corals to grow rapidly in relatively nutrient-poor water.
The other main modern reefs builders are calcareous algae.