What's the connection between stress and immune function?

What’s the connection between stress and immune function?