The epidermis, the outermost layer of skin, produces appendages like hair and nails. These are made of keratin and protect the body.