The integumentary system consists of the skin, hair, nails, and glands. It provides protection from injury and infection through physical and chemical barriers. The skin regulates body temperature through vasodilation and sweating. It also senses touch and pressure through nerve endings. The skin synthesizes vitamin D and excretes wastes. The epidermis and dermis layers contain cells and fibers that give the skin strength and flexibility.