Coral reefs are some of the most biodiverse habitats on earth, supporting large numbers of species of corals, fish, molluscs, worms, arthropods, starfish, sea urchins, other invertebrates and algae. Because of the photosynthetic requirements of the corals, they are found in shallow waters, and many of these fringe land masses. With a three-dimensional structure, coral reefs are very productive ecosystems; they provide food for their inhabitants, hiding places of various sizes to suit many organisms, perching places, barriers to large predators and solid structures on which to grow. They are used as breeding grounds and as nurseries by many species of pelagic fish, and they influence the productivity of the ocean for miles around. Anthozoans prey on animals smaller than they are and are themselves eaten by such animals as fish, crabs, barnacles, snails and starfish. Their habitats are easily disturbed by outside factors which unbalance the ecosystem. In 1989, the invasive crown-of-thorns starfish ("Acanthaster planci") caused havoc in American Samoa, killing 90% of the corals in the reefs.