Research suggests that not only did wings evolve in dinosaurs earlier than previously thought, they may have evolved merely for courtship displays. A study in Science describes three Ornithomimosaur specimens - distantly related to birds - from Canada. Both juvenile and adult specimens had evidence of downy feathers, but only an adult had wing-like structures.That suggests that wings may have evolved not for flight, but rather to aid in the quest to reproduce.
And coincidence of coincidences.... feathers also have some amazing properties, they enable flight, and are fantastic insulation. As all creatures have the desire to mate... why dont they all have feathers then ?
I always thought the reason why feathered dinosaurs, ancestors of our birds, exist was to fly across the top of trees and cliffs, into warmer climes during the ice ages and escape from predators who would caught their prey if it wasn't for wings. Evolution is strange but true in scientific inquiry on the slow changes experienced in many species of animals and plants for millions of years...helping a species to survive new changed environments.