The coat of the domestic dog refers to the hair that covers its body. Dogs demonstrate a wide range of coat colors, patterns, textures, and lengths. As with other mammals, a dog's fur has many uses, including thermoregulation and protection from cuts or scratches; furthermore, a dog's coat plays an important role in the showing of purebred dogs. Breed standards often include a detailed description of the nature and attributes of that breed's ideal coat. A dog's coat is composed of two layers: a top coat of stiff guard hairs that help repel water and shield from dirt, and an undercoat of soft down hairs, to serve as insulation. Dogs with both under coat and top coat are said to have a double coat. Dogs with a single coat have a coat composed solely of guard hairs, with little or no downy undercoat. The terms fur and hair are often used interchangeably when describing a dog's coat, however in general, a double coat, like that of the Newfoundland and most livestock guardian dogs, is referred to as a fur coat, while a single coat, like that of the Poodle, is referred to as a hair coat. Genetics Domestic dogs exhibit diverse coat colours and patterns. In many mammals, different colour patterns are the result of the regulation of the Agouti gene, which can cause hair follicles to switch from making black or brown pigments to yellow or nearly white pigments. The most common coat pattern found in modern wolves is agouti, in which the upperside of the body has banded hairs and the underside exhibits lighter shading. The colour yellow is dominant to the colour black and is found in dogs across much of the world and the dingo in Australia. In 2021, a study of whole genome sequences taken from dogs and wolves focused on the genetic relationships between them based on coat colour. The study found that most dog colour haplotypes were similar to most wolf haplotypes, however dominant yellow in dogs was closely related to white in arctic wolves from North America. This result suggests a common origin for dominant yellow in dogs and white in wolves but without recent gene flow, because this clade was found to be genetically basal to the golden jackal and genetically distinct from all other canids. The most recent common ancestor of the golden jackal and the wolf lineage dates back