This is where the immune system comes in, specifically a special type of white blood cell called intraepithelial lymphocytes. These cells serve two functions: They condition and repair the thin intestinal lining, and they also serve as its first line of gut defense against pathogens.