Immune System Defense Simulator
Watch a pathogen invade the body and track how the immune system fights back over 21 days. Step through innate and adaptive responses, compare vaccinated vs unvaccinated outcomes, and see how cell populations rise and fall across the infection timeline.
Immune Response Timeline
Simulation Controls
Select Pathogen
Vaccination Status
Day
Day 0Cell Population Over Time(solid = unvaccinated, dashed = vaccinated)
Response Details - Day 0
The pathogen enters the body and begins to replicate. The immune system has not yet detected it.
Cell Activity at Day 0
Reference Guide
Innate Immunity
The innate immune system is the body's first line of defense. It responds within minutes to hours of pathogen exposure, without needing prior "memory" of the invader.
Key cells and components
- Neutrophils are the most abundant white blood cells. They arrive first at infection sites and engulf pathogens through phagocytosis.
- Macrophages patrol tissues, engulf debris and pathogens, and release cytokines that coordinate the broader immune response.
- Dendritic cells act as messengers, presenting pathogen antigens to T cells to bridge innate and adaptive immunity.
- Natural killer (NK) cells destroy virus-infected and tumor cells without needing specific antigen recognition.
The innate response produces inflammation, fever, and general symptoms. It peaks around day 4-5 and begins to decline as the adaptive response takes over.
Adaptive Immunity
The adaptive (acquired) immune system mounts a targeted response specific to a particular pathogen. It takes 5-10 days to fully activate but provides long-lasting protection.
Key cell types
- B cells produce antibodies that bind to pathogen antigens, neutralizing them and marking them for destruction.
- Helper T cells (CD4+) coordinate the immune response by activating B cells and cytotoxic T cells.
- Cytotoxic T cells (CD8+) directly kill cells infected by viruses or intracellular bacteria.
- Memory cells persist after infection clears, enabling a much faster response (2-3 days vs 7-10 days) upon re-exposure to the same pathogen.
Clonal selection ensures only B and T cells with the correct antigen receptors are activated and rapidly multiplied.
Vaccination and Immune Memory
Vaccines train the adaptive immune system by introducing a harmless version of a pathogen (inactivated, attenuated, or subunit) or its genetic blueprint (mRNA). The body mounts a primary immune response and establishes memory cells without causing disease.
How vaccination changes the response
- Memory B and T cells are already present when the real pathogen arrives.
- The adaptive response activates within 1-3 days instead of 7-10 days.
- Pathogen load peaks at a much lower level and is cleared faster.
- Symptoms are greatly reduced or absent (subclinical infection).
This is the secondary immune response. Antibody titers rise faster and reach higher levels than the primary response.
Immune Evasion and Pathogen Virulence
Pathogens have evolved strategies to evade or suppress the immune response, affecting how quickly and effectively the body clears them.
Virulence factors
- Replication rate determines how fast the pathogen spreads before the immune response contains it.
- Immune evasion slows innate detection. Flu virus, for example, blocks interferon signaling and changes its surface proteins (antigenic drift) to avoid recognition.
- Antigen complexity affects how long the adaptive immune system takes to produce the right antibodies. Complex antigens require longer clonal expansion.
In the simulator, E. coli has the highest virulence (7/10), meaning it replicates fastest. Influenza has the highest immune evasion (0.4), blunting the early innate response most.