Which is the part of the coral that is built up over thousands of years into a reef a B or D

The part of the coral that is built up over thousands of years into a reef is option D - coral skeleton.