As we know, the coral reef ecosystem has numerous functions, namely preventing coastal erosion, providing food and livelihood for coastal communities through its marine resources and tourism sector. It is the reason why most of the coastal communities depend on coral reefs for their livelihood.