Coral reefs are intricate natural ecosystems characterized by a variety of biotic and abiotic elements. Among the biotic components, algae, coral, crabs, bacteria, fish, and plants play crucial roles in maintaining the biodiversity and productivity of these underwater habitats.