Whales are mammals, not fish, and they breathe with their lungs. In the process of breathing, the role of the nostrils is also very important. Their nostrils can be called "spout holes". Some whales have only one nostril, some whales have two nostrils, there are some differences in structure, but the role is irreplaceable. They will choose the specific time of breathing, and in the process of breathing, they will emit a mixture of gas and water, so that it looks like they are spraying water from a distance. The height and shape of the water column emitted by different whales will vary.
The amount of air a whale takes in at a time is so large that after a breath they can submerge again and go for a long time without breathing. In the next breath, they also emit a jet of water, then inhale the gas, and so on. Whales of all species need to come out of the water regularly to breathe, but at different intervals, some whales need to breathe for a few minutes, some whales can persist for several hours after a breath.
The specific way whales breathe has been introduced above, they all need to come out of the water to breathe, can not breathe underwater, this is the common point of all whales. Their lungs are usually large, allowing them to submerge for a long time after a breath. They breathe at different intervals. As mentioned above, some can be submerged for a long time, while others must breathe for several minutes, so they can not dive too deep.