Pterosaurs and large marine reptiles died out in the Cretaceous
Pterosaurs are often referred to by popular media or the general public as "flying dinosaurs", but dinosaurs are defined as the descendants of the last common ancestor of the Saurischia and Ornithischia, which excludes the pterosaurs
Pterosaurs had a variety of lifestyles

