Mammals are a class of vertebrates characterized by the presence of mammary glands, hair or fur, three middle ear bones, and a neocortex region in the brain. The duck-billed platypus is a monotreme, a mammal that lays eggs. Bats are flying mammals, and whales are marine mammals.