What is the use of a dog's whiskers

Miniature Schnauzer (detailed introduction)
We know that a cat's whiskers serve many purposes; they not only provide a sense of perception but also act as a measuring tool. Dogs also have whiskers, but what is the use of a dog's whiskers? Are they as important as those of cats? In fact, whiskers function like radar; they are not merely decorative, but special sensory organs for both cats and dogs. The base of the whiskers contains extremely fine nerves, allowing the dog to sense objects with slight contact.
The base of a dog's whiskers is concentrated with many nerves, so anything that touches the whiskers can trigger a sensitive reaction. When a dog moves in dark places or narrow paths, it will slightly twitch its whiskers to probe the width of the road, which helps it navigate accurately and freely. The length of the whiskers is proportional to the dog's body length. Additionally, whiskers help dogs detect targets and have an olfactory-related function.
During normal growth, a dog's whiskers grow in proportion with its body size. Therefore, in daily life, one should not often think about pulling out a dog's whiskers or keep playing with them out of curiosity. For dogs, whiskers are one of the important wonders of their bodies; without whiskers, their daily life will be seriously affected.
It is clear that a dog's whiskers, like a cat's, have special functions, so we should not remove a dog's whiskers just for fun, as it would greatly impact their life.