A barrier reef is a deposit of coral separated from shore by a lagoon of varying width and depth. At various locations, small breaks allow the exchange of water between the lagoon and the open water.
Images
Formation of an Atoll: Sinking Island Gilluly, J., A. C. Waters, and A. O. Woodford.
Principles of Geology.
W. H. Freeman and Company, San Francisco, 1975.