Dinosaur
What separates the pterodactyl from the dinosaurs?
Dinosaurs are identified by one anatomical detail: their limbs stood vertical beneath the body. So the pterodactyl was not one of them, any more than the giant marine reptiles of the same era. Flying and swimming reptiles belonged to other lineages, merely contemporary.