Whales and sharks are both large marine animals, but they are very different creatures.
Similarities
Both live in the ocean, are apex predators, have streamlined bodies, can grow very large, and play important roles in marine ecosystems.
Differences
Class: Whales are mammals; sharks are fish.
Breathing: Whales breathe air through lungs; sharks breathe through gills.
Reproduction: Whales give birth to live young; many sharks lay eggs.
Body structure: Whales have bony skeletons; sharks have cartilaginous skeletons.
Evolution: Whales evolved from land mammals; sharks have a long history as fish.
While they share similarities, they are fundamentally different animals with distinct evolutionary histories and ecological roles.