Guard hairs form the visible outer layer of the pelage. They are typically longer, stiffer, and more pigmented than the downy underfur. Their primary role is to shield the animal from physical abrasion, moisture, and ultraviolet light. In many aquatic or semi-aquatic mammals, guard hairs are coated in natural oils to shed water, keeping the insulating layer beneath dry. They also provide the animal's primary camouflage patterns and can be raised during social displays to make the animal appear larger or more threatening to rivals or predators.
In simple words
These are the long, tough hairs on the outside of an animal's fur that keep it dry and protect it.
In the wild
A grizzly bear's 'grizzled' appearance comes from the silver or pale tips of its long guard hairs. These hairs are tough enough to protect the bear's skin as it pushes through thorny brush. In the winter, these hairs grow longer to help shed snow. Small mammals like minks have very oily guard hairs that lock together when wet, creating a waterproof barrier that protects the warm air trapped in their thick underfur while they hunt in icy streams.
Example
The long, black guard hairs of a porcupine are modified into sharp quills for defense.