Pterosaurs included the largest flying animals ever to have lived. They are a clade of prehistoric archosaurian reptiles closely related to dinosaurs. Species among pterosaurs occupied several types of environments, which ranged from aquatic to forested. Below are the lists that comprise the smallest and the largest pterosaurs known as of 2022[update].