Bats and birds both fly, but they belong to entirely different evolutionary lineages.
Bats Are Mammals
Bats have fur, give birth to live young, and nurse their offspring with milk. Their wings are made of skin stretched over elongated finger bones, and many species use echolocation to navigate.
Birds Are Avian Vertebrates
Birds possess feathers, beaks, and lightweight skeletons. They lay hard-shelled eggs and are endothermic, generating their own body heat.
Because of these fundamental differences in anatomy, reproduction, and evolutionary history, bats and birds occupy separate branches of the tree of life despite sharing the ability to fly.