Answer:
Regulation of body temperature: the skin helps keep the warmth inside the body with the thick but permeable layers around the body to keep themselves safe
Keeping moisture inside the body: the skin usually sweats in the hot to cool the surface of the skin. When the roles are opposite, the body tries hard not to lose any fluid