Dinosaur wings seem to have originally been used not to fly but to attract a mate.

The story of birds: a new history from their dinosaur origins – extract of Steve Brusatte’s new book
Stephen Brusatte, Chancellor's Fellow in Vertebrate Palaeontology, University of Edinburgh


