The skin consists of an upper layer, the epidermis, which serves as a protective barrier; and a lower level, the dermis, which contains a number of specialized cells and structures, including blood vessels, nerve tissue, hair follicles, and sweat glands.