Factors affecting immune system