So the last previous answer was changed because someone disided to f*ck it up....if you know the answer go right ahead and inprove this answer.....sorry thank you and bye.
coral reefit is made of dead sea animals which come up floating and make a hard layer of land by joining themselves more and more layers start joining and at last a thick piece of land is formed .