Can whales and dolphins breathe underwater?

Whales and dolphins breathe through nostrils, called a blowhole, located right on top of their heads