Inflammation occurs when your body's immune system reacts to a threat and triggers white blood cells to protect against infection.