Corals are formed by small animals, the polyps of the phylum Cnidaria.