The epidermis consists of four main cell types: keratinocytes, melanocytes, dendritic cells, and tactile cells. It is made up of multiple layers - the stratum basale contains stem cells, the stratum spinosum contains keratinocytes connected by desmosomes, and the stratum granulosum and stratum corneum contain dead, keratinized cells that make up the protective outer layer of skin. Melanocytes produce melanin which is transferred to keratinocytes to protect the skin from UV damage. Dendritic cells act as immune sentinels while tactile cells detect touch sensations.