The three main types of coral reefs are fringing reefs, barrier reefs, and atolls. Fringing reefs grow near the shorelines of islands and continents. Barrier reefs are separated from the shoreline by a lagoon, while atolls are circular coral reefs surrounding a lagoon.