There are three different types of coral reef formations—barrier reefs, coral atolls, and fringing reefs. Barrier reefs help to protect lagoons and other types of shallow water, coral atolls (which are often mistaken for islands) are made from volcanic remains, and fringing reefs are found right along the coastline.