When, eventually, it sinks to the ocean floor, it takes this carbon out of circulation, down to a place where it remains for many thousands of years.
The more whales there are, the more plankton there is. The more plankton there is, the more carbon is drawn out of the air.