The skin is composed of epithelial tissue. This is a sheet of cells lining a body cavity or covering the surface of a body.
The cell membrane protects the cell from unwanted things coming inside. It is a barrier. Composed of a phospholipid bilayer with embedded proteins, the plasma membrane is selectively permeable to ions and organic molecules and regulates the movement of substances in and out of cells.
The answer is the nervous system.