Bats are mammals. As the bats are warm blooded, and they can fly like the birds, bats are known as flying animal. Means they have two unique characteristics. They can fly like birds, and can give birth and suckle to their young ones like animals.
Bacteria are decomposers when they are turning the dead material in decaying organisms into nutrients. They become producers when they provide those nutrients for plants.