Coral reefs are formed by the accumulation of calcium carbonate skeletons deposited by coral polyps over time. Coral polyps thrive in tropical oceans between 30 degrees north and south latitude where temperatures are between 20-30 degrees Celsius, sunlight levels are sufficient down to around 50 meters depth, and waters have low turbidity with moderate salinity and ocean currents. There are several types of coral reefs including fringing reefs along coastlines, barrier reefs parallel to coastlines separated by lagoons, and ring-shaped atolls which may enclose central lagoons. Coral reefs are most abundant in the tropical Indo-Pacific oceans.