Make the given text simpler.
They favor coral reefs, but also inhabit continental shelves, island terraces, lagoons, and deep water near land.
They live mainly in coral reefs, but have been found in lagoons and deep water near land.