Yes they do. Like all mammals, whales breathe air into lungs, are warm-blooded, feed their young milk from mammary glands, and have some (although very little) hair.
What is the sperm whale food chain?
Sperm Whales are carnivores and feed on several species. The most notable prey species are the giant squid, the colossal squid, octopuses, and diverse fish like demersal rays, but the main part of their diet consists of medium-sized squid. Due to their sheer size, some prey may be taken incidentally while eating other items.
Sperm whales that are beached are very large and dense creatures, so it is almost impossible for them to get back out to sea on their own and they usually die through dehydration and crushing themselves.
The dead carcasses of spem whales will decompose (very quickly if it is warm and there is a lot of sun) and as these gases build up inside such a large body, eventually the creature will bloat up. Just like a balloon that was inflated past its breaking point, at a certain point the whale's skin will violently and noisily tear up as the gases seek to escape, which causes them to explode after a fashion.
Adult Sperm whales are too large to be attacked or killed by any animal. However the killer whale or Orca as they are more commonly known is known to prey upon youngsters and stray calf's. No animal is large enough to attack and kill a full grown sperm whale.