Mammals first evolved around 200 million years ago, and they radiated into a wide variety of species. The first mammals were small, shrew-like animals that lived in the undergrowth. Over time, mammals evolved into larger and more diverse forms, including herbivores, carnivores, and omnivores. Mammals eventually became the dominant land animals on Earth, and they continue to play a vital role in the planet's ecosystems.