The epidermis is the outermost of the three layers that make up the skin, the inner layers being the dermis and hypodermis. The epidermis layer provides a barrier to infection from environmental pathogens and regulates the amount of water released from the body into the atmosphere through transepidermal water loss.