Coral reefs begin to form when free-swimming coral larvae attach to submerged rocks or other hard surfaces along the edges of islands or continents. As the corals grow and expand, reefs take on one of three major characteristic structures —fringing, barrier or atoll.