You may have never thought about it, but bats are not avian. They are mammals. They give birth to live young, rather than hatching from eggs.
This makes them the only mammal that flies. (And, no, the flying squirrel does not count, the membrane on their legs allows them to glide, but not actually fly).