A reef is a ridge or shoal of rock, coral or similar relatively stable material, lying beneath the surface of a natural body of water. Many reefs result from natural, abiotic processes—deposition of sand, wave erosion planing down rock outcrops, etc.—but there are also reefs such as the coral reefs of tropical waters formed by biotic processes dominated by corals and coralline algae, and artificial reefs such as shipwrecks and other anthropogenic underwater structures may occur intentionally or as the result of an accident, and sometimes have a designed role in enhancing the physical complexity of featureless sand bottoms, to attract a more diverse assemblage of organisms. Reefs are often quite near to the surface, but not all definitions require this.