Thecodontosaurus (meaning "socket-toothed lizard") was a very early dinosaur that lived during the Upper Triassic, a time when the Earth was relatively warm and much of the land was dry and desert-like. This was around the time that the dinosaurs were just starting to appear.