Powered flight evolved three times in vertebrate evolutionary history: the pterosaurs, birds, and bats.
What sets bats apart from flying birds & insects is their highly flexible, anatomically-complex wings, making them far more agile flyers while also being less "aerodynamic".
(📷: Lund Univ)