One of a great variety of terrestrial reptilian forms during the Mesozoic era 245 million to 65 million years ago.