Once an infection gains a foothold, the immune system responds initially with inflammation. The immune system can inflame at the site of an infection, causing the redness, heat, and swelling there, or it can inflame the entire body through fever, or both.