The epidermis is the outermost layer. It contains a substance called keratin that helps waterproof the skin.