Pterosaurs lived among the dinosaurs and became extinct around the same time, but they were not dinosaurs. Rather, pterosaurs were flying reptiles. Modern birds didn’t descend from pterosaurs; birds’ ancestors were small, feathered, terrestrial dinosaurs.