What is a coral reef and how is it formed?

Responsive image
source