The integumentary system consists of the skin, hair, nails, and glands. The skin is made up of three layers - the epidermis, dermis, and hypodermis. The epidermis contains keratinized epithelial cells that are constantly shed and replaced. Melanin in the epidermis determines skin and hair color. The dermis contains collagen, elastin, and nerves that provide sensitivity. Sweat and sebaceous glands in the dermis help regulate body temperature and protect the skin. Hair, nails, and glands are accessory structures of the integumentary system.