Some hormones produced by the body can influence the immune system's response to infection or injury.