In decades past, dinosaurs were distinguished from other reptiles of their time by the fact that they lived on land. There weren’t any dinosaurs that swam in the oceans like the fish-like ichthyosaurs, and there were no dinosaurs that flew like the leathery-winged pterosaurs. But discoveries over the past few decades have complicated the picture a bit.