The outermost layer of the skin, the stratum corneum, consists of dead keratinocytes that provide a barrier against environmental aggressors. The underlying epidermis contains Langerhans cells, which play a role in the immune response by identifying and presenting pathogens to the immune system. Additionally, sebaceous glands secrete sebum, which has antimicrobial properties and helps lubricate the skin.