How do blue whales help the environment?

I don't know about blue whales but I know Sperm whales waste gets rid of carbon in the air. Which also helps offset greenhouse gases that have been tied to global warming.