Role of the immune system