The cornified layer is made up of dead cells, that prevent entry of bacteria and prevent physical damage; melanin protects the body against U-V variation; sebaceous glands produce a chemical/ ring substance which is of blood vessel; which when the body temperature is high dilate and heat is lost or when body temp is low blood vessels constrict. Hope this helped!