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
Starfish deterrents used by the starfish to discourage predation. Others are antifoulants and supplement the pedicellariae to prevent other organisms from settling on the starfish's aboral surface. Some are alarm pheromones and escape-eliciting chemicals, the release of which trigger responses in conspecific starfish but often produce escape responses in potential prey. Research into the efficacy of these compounds for possible pharmacological or industrial use occurs worldwide. Most species of starfish are gonochorous, there being separate male and female individuals. These are usually not distinguishable externally as the gonads cannot be seen, but their sex is apparent when they spawn. Some species