Mesozoic

The Mesozoic Era was the geological era in which dinosaurs lived, as well as the first mammals. It lasted about 186 million years, starting 252.2 mya (million years ago) with the P/Tr extinction and ending 65 mya with the K/T extinction (the one that killed all dinosaurs except birds).
Dinosaurs appeared around 231 mya (21 million years after the beginning of the Mesozoic). They evolved from the reptiles called archosaurs. Modern birds and crocodiles are part of that group.
Although mammals originated in the Upper Triassic, their fate was quite different to the dinosaurs. Mammals spent most of the long Jurassic and Cretaceous periods as small nocturnal animals living mainly in forests. Most lost their colour vision. Mammals today have some colour vision. Most have red-green colour blindness, with only two types of cones. Primates have three types of colour receptors (cone cells), which gives them "trichromatic colour vision". Colour is needed in forests to spot ripe fruit.
The Mesozoic is the middle of the three eras that make up the Phanerozoic eon. Before the Mesozoic was the Palaeozoic era. The K/T extinction in 65 mya also marks the beginning of the Cenozoic era, the one we live in.
The three Mesozoic periods were:
Ecology.
The ecology of this world was quite different to that of the Pleistocene, the era when humans evolved. For much of human history we lived in a cold world with quite a sharp difference between land and sea. 
The Mesozoic was a much warmer world, with a higher temperature, and a high water stand. There was little or no ice at the poles and the continents had large areas covered with shallow continental seas.
Moreover, the continents were all quite near each other, or actually touching. Many land animals could walk or swim to other continents. Actually, the Mesozoic starts off with all the continents together in Pangaea. They stayed pretty close for the rest of the Mesozoic. 
Textbooks have always described how the Mesozoic was the age of the dinosaurs, which has even more sense now that we know birds descended from land dinosaurs. It was the age, too, of extraordinary marine reptiles. Mammals were mainly small nocturnal animals which scurried around in the night-times of the great forests. We know from their loss of colour vision (which is trichromatic in fish and reptiles) that mammals lived a nocturnal life.
Plants.
For most of the Mesozoic, the plants were different from those of today. Only in the Upper Cretaceous do we find flowering plants of the modern kind. Before then ferns, cycads and conifers covered the land. They were the typical food of the huge vegetarian dinosaurs. Horsetails like "Equisetum" formed the understory of the huge conifer forests.