Starfish first appeared in the fossil record in the Cambrian. The first known asterozoans were the Somasteroidea, which exhibit characteristics of both groups. Starfish are infrequently found as fossils, possibly because their hard skeletal components separate as the animal decays. Despite this, there are a few places where accumulations of complete skeletal structures occur, fossilized in place in Lagerstätten — so-called "starfish beds". By the late Paleozoic, the crinoids and blastoids were the predominant echinoderms, and some limestones from this period are made almost entirely from fragments from these groups. In the two major extinction events that occurred during the late
Invertebrate the Nemertea or ribbon worms, and the Sipuncula. Another phylum is Platyhelminthes, the flatworms. These were originally considered primitive, but it now appears they developed from more complex ancestors. Flatworms are acoelomates, lacking a body cavity, as are their closest relatives, the microscopic Gastrotricha. The Rotifera or rotifers, are common in aqueous environments. Invertebrates also include the Acanthocephala or spiny-headed worms, the Gnathostomulida, Micrognathozoa, and the Cycliophora. Also included are two of the most successful animal phyla, the Mollusca and Annelida. The former, which is the second-largest animal phylum by number of described species, includes animals such as snails, clams,