The dog's skin has a role of protection against temperature variations, against losses water, against trauma and microbes... The skin contains many nerves that the brain by touch, but the tactile sense is much less developed in dogs than in humans. The skin is formed by the hypodermis, the dermis and the epidermis:
The hypodermis is the deepest layer of the skin. It is a tissue very rich in fat which gives the skin of the dog a great flexibility. Its thickness is not identical to all parts of the body. The hypodermis is very thick at the withers, for example, a region that the veterinarian often chooses for bites. The excess fat is stored in the hypodermis in obese dogs
The dermis is located above the hypodermis. It is a layer of connective tissue that protects the body from blows thanks to its elasticity.
The epidermis is the outer layer of the skin. The cells in contact with the air are dead cells which desquamate and are renewed as and when their desquamation. Dandruff is caused by too much peeling.
Is this article helpful to answer your problem?