Is coral reefs freshwater or saltwater?

Only salt water not brackish or fresh fresh and brackish water kills the polyps