a coral reef is a rock life collection of what?

Coral is living matter, and it is surrounded by all sorts of marine life.