Ichthyosaurs were giant marine reptile
Reptiles are members of a class of air-breathing, ectothermic vertebrates which are characterized by laying shelled eggs , and having skin covered in scales and/or scutes. They are tetrapods, either having four limbs or being descended from four-limbed ancestors...

s that resembled fish and dolphins. Ichthyosaurs thrived during much of the Mesozoic
The Mesozoic era is an interval of geological time from about 250 million years ago to about 65 million years ago. It is often referred to as the age of reptiles because reptiles, namely dinosaurs, were the dominant terrestrial and marine vertebrates of the time...

 era; based on fossil
Fossils are the preserved remains or traces of animals , plants, and other organisms from the remote past...

 evidence, they first appeared approximately 245 million years ago (mya) and disappeared about 90 million years ago, about 25 million years before the dinosaur
Dinosaurs are a diverse group of animals of the clade and superorder Dinosauria. They were the dominant terrestrial vertebrates for over 160 million years, from the late Triassic period until the end of the Cretaceous , when the Cretaceous–Paleogene extinction event led to the extinction of...

s became extinct. During the middle Triassic
The Triassic is a geologic period and system that extends from about 250 to 200 Mya . As the first period of the Mesozoic Era, the Triassic follows the Permian and is followed by the Jurassic. Both the start and end of the Triassic are marked by major extinction events...

 Period, ichthyosaurs evolved from as-yet unidentified land reptiles that moved back into the water, in a development parallel to that of the ancestors of modern-day dolphin
Dolphins are marine mammals that are closely related to whales and porpoises. There are almost forty species of dolphin in 17 genera. They vary in size from and , up to and . They are found worldwide, mostly in the shallower seas of the continental shelves, and are carnivores, mostly eating...

s and whale
Whale is the common name for various marine mammals of the order Cetacea. The term whale sometimes refers to all cetaceans, but more often it excludes dolphins and porpoises, which belong to suborder Odontoceti . This suborder also includes the sperm whale, killer whale, pilot whale, and beluga...