The skin has three main layers - the epidermis, dermis and hypodermis. The epidermis contains keratinocytes, melanocytes, Langerhans cells and Merkel cells. The dermis lies below the epidermis and contains hair follicles, sweat and sebaceous glands. The deepest layer, the hypodermis, contains fat and connective tissue. Skin provides protection, regulates temperature, and allows for sensation. Skin cancer and burns affect the different layers of the skin in varying degrees of severity.