Diapsids are a clade of sauropsids, distinguished from more primitive eureptiles by the presence of two holes, known as temporal fenestrae, in each side of their skulls. The group first appeared about three hundred million years ago during the late Carboniferous period. All diapsids other than the most primitive ones in the clade Araeoscelidia are sometimes placed into the clade Neodiapsida. The diapsids are extremely diverse, and include birds and all modern reptile groups, including turtles, which were historically thought to lie outside the group. Although some diapsids have lost either one hole (lizards), or both holes, or have a heavily restructured skull, they are still classified as diapsids based on their ancestry. At least 17,084 species of diapsid animals are extant: 9,159 birds, and 7,925 snakes, lizards, tuatara, turtles, and crocodiles.
Diapsid
Sauropsida is a clade of amniotes, broadly equivalent to the class Reptilia, though typically used in a broader sense to include both extinct stem-group relatives of modern reptiles, as well as birds. The most popular definition states that Sauropsida is the sibling taxon to Synapsida, the other clade of amniotes which includes mammals as its only modern representatives. Although early synapsids have historically been referred to as "mammal-like reptiles", all synapsids are more closely related to mammals than to any modern reptile. Sauropsids, on the other hand, include all amniotes more closely related to modern reptiles than to mammals. This includes Aves (birds), which are recognized as a subgroup of archosaurian reptiles despite originally being named as a separate class in Linnaean taxonomy.
Sauropsida
The Berlin specimen of Archaeopteryx lithographica, a historically important fossil which helped to establish birds as a component of the reptile family tree
Mesozoic sauropsids: non-avialandinosaurs (Europasaurus and iguanodonts) alongside the early bird Archaeopteryx perched on the foreground tree stump.