and protects the skin from infection