The integumentary system consists of the skin, hair, nails, and exocrine glands. It functions to protect the body from damage, regulate temperature and water balance, and produce vitamin D. The skin is composed of three layers - the epidermis, dermis, and hypodermis. Hair grows from follicles in the dermis and nails cover the tips of fingers and toes. Sweat and sebaceous glands in the dermis release sweat and oils to regulate temperature and moisture.