Corals, including some major extinct groups Rugosa and Tabulata, have been important reef builders through much of the Phanerozoic since the Ordovician Period. However, other organism groups, such as calcifying algae, especially members of the red algae Rhodophyta, and molluscs (especially the rudist bivalves during the Cretaceous Period) have created massive structures at various times. During the Cambrian Period, the conical or tubular skeletons of Archaeocyatha, an extinct group of uncertain affinities (possibly sponges), built reefs. Other groups, such as the Bryozoa have been important interstitial organisms, living between the framework builders. The corals which build reefs today, the Scleractinia, arose after the Permian–Triassic extinction event that wiped out the earlier rugose corals (as well as many other groups), and became increasingly important reef builders throughout the Mesozoic Era. They may have arisen from a rugose coral ancestor. Rugose corals built their skeletons of calcite and have a different symmetry from that of the scleractinian corals, whose skeletons are aragonite. However, there are some unusual examples of well-preserved aragonitic rugose corals in the late Permian. In addition, calcite has been reported in the initial post-larval calcification in a few scleractinian corals. Nevertheless, scleractinian corals (which arose in the middle Triassic) may have arisen from a non-calcifying ancestor independent of the rugosan corals (which disappeared in the late Permian).
On the infrequent occasions when they swim in oceanic waters, grey reef sharks often associate with marine mammals or large pelagic fishes, such as sailfish (Istiophorus platypterus). There is an account of around 25 grey reef sharks following a large pod of bottlenose dolphins (Tursiops sp.), along with 25 silky sharks (C. falciformis) and a single silvertip shark. Rainbow runners (Elagatis bipinnulata) have been observed rubbing against grey reef sharks, using the sharks' rough skin to scrape off parasites.
Grey reef sharks are fast-swimming, agile predators that feed primarily on free-swimming bony fishes and cephalopods. Their aggressive demeanor enables them to dominate many other shark species on the reef, despite their moderate size. Many grey reef sharks have a home range on a specific area of the reef, to which they continually return. However, they are social rather than territorial. During the day, these sharks often form groups of five to 20 individuals near coral reef drop-offs, splitting up in the evening as the sharks begin to hunt. Adult females also form groups in very shallow water, where the higher water temperature may accelerate their growth or that of their unborn young. Like other members of its family, the grey reef shark is viviparous, meaning the mother nourishes her embryos through a placental connection. Litters of one to six pups are born every other year.
A profitable ecotourism industry has arisen around this species involving organized "shark feeds", in which groups of reef sharks are attracted to divers using bait. Some US$6,000,000 is spent annually on shark viewing in the Bahamas, where at some sites a single living Caribbean reef shark has a value between US$13,000 and US$40,000 (compared to a one-time value of US$50–60 for a dead shark). This practice has drawn controversy, as opponents argue that the sharks may learn to associate humans with food, increasing the chances of a shark attack, and that the removal of reef fishes for bait may damage the local ecosystem. Conversely, proponents maintain that shark feeds contribute to conservation by incentivizing the protection of sharks and educating people about them. Thus far, there has been little evidence that shark feeds have increased the risk of attack in the surrounding area. Shark feeding has been outlawed off the coast of Florida, but continues at other locations in the Caribbean.
The Caribbean reef shark is the most common shark on or near coral reefs in the Caribbean. It is a tropical inshore, bottom-dwelling species of the continental and insular shelves. Although C. perezi mainly inhabits shallow waters, it has been recorded to reach depths to at least 98 feet (30 m). Caribbean reef sharks are commonly found close to drop-offs on the outer edges of coral reefs and also may lie motionless on the bottom of the ocean floor. This phenomenon has also been observed in caves off the coast of Mexico and off the Brazilian archipelago of Fernando de Noronha.
The Caribbean Reef Shark is known to become aggressive in the presence of food, but they are mostly only considered dangerous to humans because of its size. This shark was fished in Belize for almost the entire 20th century. They were used to make local delicacies in addition to liver oil (mostly used in cosmetics). Their low reproduction rate combined with a high level of hunting and fishing have caused the numbers to dwindle. The shark is now considered to be near threatened. Many countries and organizations have banned the commercial fishing of this species.