What role does stress play in weakening the immune system?

What role does stress play in weakening the immune system?