The flying reptiles known as pterosaurs are the closest relatives of dinosaurs and were the first vertebrates to evolve powered flight. However, many details of pterosaur flight anatomy and performance are still unclear. According to a new study pterosaurs evolved a muscular wing-body junction to reduce drag and improve flight performance.