The Hemichordata is a phylum of worm-shaped marine deuterostome animals, generally considered the sister group of the echinoderms. They date back to the Lower or Middle Cambrian and include an important class of fossils called graptolites, most of which became extinct in the Carboniferous.