For more than a hundred years, scientists believed flying reptiles called pterosaurs took to the air with birdlike brains.