Dermal layer structure. The dermis contains sebaceous glands, hair follicles, apocrine glands and eccrine glands. The upper part of the dermis is connected to the epidermis, and the lower part is connected to the subcutaneous tissue layer. The sebaceous glands communicate with the hair follicle channels, and the sebum produced by the sebaceous glands flows to the skin surface through the hair follicle channels.