Jag, you are aware, I assume, that wings (bat, pterosaurs, or bird) are supported by a framework of finger bones, right? The bone structure of wings are adaptations of finger bones. Wings are arms (forelimbs) that are specialized for flight. Some, even today, still bear claws. In some birds, those claws are only present when immature, and disappear later, after they feather out and begin flying.