They are mostly flattened in shape, and usually demersal, living and eating at the bottom of the sea. The group first appears in the Triassic period, after 95% of marine species had been wiped out by the P/Tr extinction event.