A base-layer’s primary function is to move the cold and uncomfortable sweat away from your body. This allows you to regulate your temperature to match your heat level. Its secondary functions are to provide warmth or cooling, and protection from the sun.