Here's why:
* Monotremes lay eggs (like the platypus and echidna).
* Placental mammals give birth to live young after a gestation period where the developing fetus is nourished by a placenta. Bats fall into this category.
Let me know if you have any more questions about mammals!