The skin is the largest organ of the body and has three main layers - the epidermis, dermis and hypodermis. The epidermis provides the skin's barrier function through its outermost layer, the stratum corneum. The stratum corneum is made up of flattened, anucleate corneocytes surrounded by lipid lamellae of ceramides, cholesterol and fatty acids, which form a protective barrier and prevent water loss. Over 90% of the skin's barrier function resides in the epidermis and stratum corneum. This barrier protects the body by maintaining water levels and preventing microbes and foreign substances from entering.