Corals are invertebrate animals that live in colonies called polyps. They are related to jellyfish and anemones. There are two main types of coral reefs: fringing reefs near shore and barrier reefs that form when land sinks or sea levels rise. Coral polyps build reef structures over thousands of years. Coral reefs provide habitat for many species of fish but are threatened by pollution, sedimentation from runoff, and destructive fishing practices like dynamite fishing.