Corals are marine invertebrates belonging to the phylum Cnidaria, primarily forming colonies and building calcareous skeletons that serve critical ecological functions in marine ecosystems. They can be categorized into hard and soft corals, with hard corals being essential for reef structures and soft corals lacking the same skeletal support. Coral reefs provide diverse habitats for marine life, contribute to fishing and tourism economies, and have significant geological importance due to their composition.