Modern turtles are divided into two broad groups based on how they retract their necks: pleurodires, which turn their necks to pull their heads into their shells sideways, and cryptodires, which pull their heads straight back into their shells.