As already mentioned, a major function of skin is its ability to protect the body from the potentially injurious environment. All parts of the skin contribute to its role in protection. The stratum corneum is a remarkably efficient barrier, protecting against water loss to the environment and against the entry of toxic substances that the skin may encounter. This same thin structure also helps protect against solar ultraviolet radiation (UVR), thermal injury and, to some extent, mechanical damage.