Over millions of years, they traded in their legs for flippers, gained blow holes and evolved into the largest creatures on Earth.