The origins of whales remain an active area of scientific research, but the prevailing view among paleontologists and evolutionary biologists is that whales descended from land-dwelling ancestors. Early theories pointed to a group of hoofed carnivorous mammals called mesonychians, which lived during the Eocene epoch roughly 50 to 34 million years ago. These forest-dwelling animals had long bodies and relatively short limbs, resembling modern wolves or bears in some ways.
Over time, some of these ancestors adapted to a semi-aquatic lifestyle, likely drawn by abundant food in aquatic environments. As they spent more time in water, their limbs gradually became more paddle-like, their bodies grew streamlined, and their teeth evolved to catch fish and other aquatic prey. Eventually, some lineages transitioned to fully aquatic life, giving rise to the whales, dolphins, and porpoises we know today. This evolutionary process is often referred to as cetaceanization.
Scientists continue to study the precise relationships between different cetacean groups, and some aspects of whale origins remain open to debate. What is clear is that whales evolved from terrestrial mammals through millions of years of gradual adaptation.