It's actually the hard, colorful calcareous skeleton secreted by certain marine polyps
The group 
includes the important reef builders that inhabit tropical oceans and secrete 
calcium carbonate to form a hard skeleton.