,*Here used as seperate for simplicity sake. Modern evidence discredits the old Reptilia in favor of Sauropsida which includes the avialans as highly derived "reptiles".
The word "mammal" is modern, from the scientific name Mammalia coined by Carl Linnaeus in 1758, derived from the Latin mamma ("teat, pap"). All female mammals nurse their young with milk, which is secreted from special glands, the mammary glands. According to Mammal Species of the World, 5,416 species were known in 2006. These were grouped in 1,229 genera, 153 families and 29 orders. In 2008 the IUCN completed a five-year, 1,700-scientist Global Mammal Assessment for its IUCN Red List, which counted 5,488 accepted species at the end of that period. In some classifications, the mammals are divided into two subclasses (not counting fossils): the Prototheria (order of Monotremata) and the Theria, the latter composed of the infraclasses Metatheria and Eutheria. The marsupials constitute the crown group of the Metatheria and therefore include all living metatherians as well as many extinct ones; the placentals likewise constitute the crown group of the Eutheria.
Except for the five species of monotremes (egg-laying mammals), all modern mammals give birth to live young. Most mammals, including the six most species-rich orders, belong to the placental group. The three largest orders, in descending order, are Rodentia (mice, rats, porcupines, beavers, capybaras, and other gnawing mammals), Chiroptera (bats), and Soricomorpha (shrews, moles and solenodons). The next three largest orders, depending on the classification scheme used, are the primates, to which the human species belongs, the (Cet)Artiodactyla (including the traditional even-toed hoofed mammals and the whales), and the Carnivora (cats, dogs, weasels, bears, seals, and their relatives). While the classification of mammals at the family level has been relatively stable, different treatments at higher levels—subclass, infraclass, and order—appear in contemporaneous literature, especially for the marsupials. Much recent change has reflected the results of cladistic analysis and molecular genetics. Results from molecular genetics, for example, have led to the adoption of new groups such as the Afrotheria and the abandonment of traditional groups such as the Insectivora.
The early synapsid mammalian ancestors were sphenacodont pelycosaurs, a group that also included Dimetrodon. At the end of the Carboniferous period, this group diverged from the sauropsid line that led to today's reptiles and birds. Preceded by many diverse groups of non-mammalian synapsids (sometimes referred to as para- or stem- mammals, often referred to as mammal-like reptiles in the past because of the paraphyletic Reptilia.), the first mammals appeared in the early Mesozoic era. Most of the modern mammalian orders arose in the Paleogene period of the Cenozoic era, after the extinction of the dinosaurs 66 million years ago.