Despite their great success over a long period, there were life-styles which the dinosaurs never evolved. None ever evolved to live entirely in water, as many mammals do, though "Spinosaurus" was semi-aquatic. They never dominated the small terrestrial niche. All through the Mesozoic most small vertebrates were mammals and lizards.