Convergent evolution
Overview
 
Convergent evolution describes the acquisition of the same biological trait in unrelated lineages.

The wing is a classic example of convergent evolution in action. Although their last common ancestor did not have wings, both bird
Bird
Birds are feathered, winged, bipedal, endothermic , egg-laying, vertebrate animals. Around 10,000 living species and 188 families makes them the most speciose class of tetrapod vertebrates. They inhabit ecosystems across the globe, from the Arctic to the Antarctic. Extant birds range in size from...

s and bat
Bat
Bats are mammals of the order Chiroptera "hand" and pteron "wing") whose forelimbs form webbed wings, making them the only mammals naturally capable of true and sustained flight. By contrast, other mammals said to fly, such as flying squirrels, gliding possums, and colugos, glide rather than fly,...

s do, and are capable of powered flight. The wings are similar in construction, due to the physical constraints imposed upon wing shape. Similarity can also be explained by shared ancestry.
 
x
OK