The skin forms a protective layer covering the body. The outer layer of the skin consists of dead cells and is difficult for pathogens to penetrate. It also produces an oily substance called sebum, which can kill bacteria. When the skin is damaged, pathogens are able to enter the body, to stop this, the skin scabs over.