Whales have developed several adaptations to live in the ocean as mammals. They have a thick layer of blubber to keep them warm in cold water, a streamlined body shape to swim efficiently, and flippers to maneuver. They can hold their breath for long periods of time, and their nostrils have evolved into a blowhole. Additionally, some species of whales have evolved to migrate long distances or dive to great depths in search of food.