Mammals are any vertebrates within the class Mammalia, a clade of endothermic amniotes distinguished from reptiles and birds by the possession of a neocortex, hair, three middle ear bones and mammary glands. The sister group of mammals may be the extinct Haldanodon. The mammals represent the only living Synapsida, which together with the Sauropsida form the Amniota clade. Mammals include the largest animals on the planet, the great whales, as well as some of the most intelligent, such as elephants, primates and cetaceans.