AnatomyIntermediateExperiment simulation~15 min

Immune System and Defence Against Disease

Every day your body meets bacteria, viruses and other microbes. Most never get past your skin, and the few that do are usually destroyed before you notice. Explore the organs of the immune system, let a pathogen in through a cut, and watch the body’s defences respond, first quickly and generally, then slowly but precisely, and faster still the next time.

Immune organs
View

Pathogen
20

How many pathogens get in through the wound (relative units).

Starts the response with memory B and T cells. It switches on by itself after you clear an infection.

—
—
—
—
—
—
—
—
—
—

Infection over time

Pathogen numbers and antibody level over the days of the infection.

    How to use this simulator

    1. Immune organs: click the bone marrow, thymus, spleen, lymph nodes, tonsils or vessels to read what each does. Press Start to see white blood cells moving in the blood and lymph.
    2. Fight an infection: choose a pathogen and dose, then press Introduce pathogen. Watch inflammation and phagocytes act within hours, then B cells, T cells and antibodies take over. Follow the graph below.
    3. When the infection clears, the person has memory cells. Press Introduce pathogen again and compare how quickly it is cleared.
    4. Primary vs secondary: see both responses side by side and read how much faster and larger the second one is.

    Educational model only. This simulator is a simplified teaching model. It cannot diagnose, treat or predict any real infection, and its numbers do not describe how any real person will respond. If you are worried about an infection or your immunity, speak to a qualified healthcare professional.

    What the immune system does

    The immune system defends the body against pathogens, the microorganisms that cause disease, such as bacteria, viruses, fungi and parasites. It also removes damaged and abnormal cells. Unlike the heart or lungs, it is not one organ but a network of barriers, organs, cells and chemicals spread through the whole body. Its defences work in layers: barriers keep pathogens out, innate immunityresponds quickly to anything foreign, and adaptive immunity builds a targeted response and remembers it.

    The immune organs

    All white blood cells are made in the bone marrow, the soft tissue inside bones such as the femur and sternum. B cells mature there, while T cells move to the thymus in the chest, where they learn to ignore the body’s own cells. The lymphatic system collects fluid that leaks out of capillaries into tissues. This fluid, called lymph, flows through lymphatic vessels and passes through hundreds of lymph nodes, small filters packed with B and T cells, before returning to the blood near the heart. The spleen filters the blood in the same way, and the tonsils guard the throat. Swollen lymph nodes in the neck during a cold are a sign that lymphocytes there are multiplying.

    First line: barriers

    Most pathogens never get inside. Unbroken skin is a tough, dry barrier. The airways are lined withmucus that traps microbes and cilia that sweep it away. Stomach acidkills many swallowed microbes, and tears and saliva contain enzymes that break down bacteria. A cut or burn breaks this barrier, which is why the simulator introduces its pathogen through a wound.

    Innate immunity

    The innate response starts within minutes and is the same for every pathogen. Damaged cells release chemicals such as histamine, causing inflammation: nearby capillaries widen and become leakier, so the area becomes red, swollen, warm and sometimes painful. White blood cells called phagocytes(neutrophils and macrophages) squeeze out of the capillaries, move towards the pathogens andengulf them in a process called phagocytosis, destroying them with enzymes. Chemicals released during infection can also reset the brain’s thermostat, causing a fever. Innate immunity often clears small infections alone; if not, it holds the pathogen back while the adaptive response prepares.

    Adaptive immunity

    Every pathogen carries antigens, molecules that the immune system recognises as foreign. Phagocytes carry pieces of these antigens to the lymph nodes and present them to lymphocytes. Each B or T cell has receptors that fit just one antigen, so at first only a few cells can respond. When a matching cell is found it divides again and again, a process called clonal expansion, which is why this response takes several days the first time.

    • B cells become plasma cells that release antibodies, Y-shaped proteins that stick to antigens. Antibodies clump pathogens together, neutralise toxins and mark pathogens for phagocytes.
    • Helper T cells coordinate the response and activate B cells.
    • Cytotoxic (killer) T cells destroy body cells that have been infected by viruses.

    Immune memory and vaccines

    After an infection, most of the expanded B and T cells die, but some remain as long-lived memory cells. If the same pathogen returns, they recognise it straight away. The secondary response starts sooner, produces far more antibodies and usually clears the pathogen before it can cause illness. This is what being immune means. Vaccines use this: they contain a harmless form of an antigen, such as an inactivated pathogen or a piece of its protein, so the body makes memory cells without having the disease. When many people are vaccinated, a pathogen struggles to spread, which also protects people who cannot be vaccinated; this is called herd immunity.

    The immune system and health

    Sometimes the immune system responds when it should not. In allergies it reacts to harmless substances such as pollen; in autoimmune diseases, such as type 1 diabetes, it attacks the body’s own cells. In immunodeficiency, for example in HIV infection, it is weakened and infections become more dangerous. Antibiotics kill bacteria but have no effect on viruses, and their overuse helps antibiotic resistance evolve.

    Key terms

    Pathogen
    A microorganism that causes disease.
    Antigen
    A molecule recognised by the immune system as foreign.
    Antibody
    A Y-shaped protein made by plasma B cells that binds to a specific antigen.
    Phagocytosis
    The engulfing and digestion of a pathogen by a phagocyte.
    Lymphocyte
    A B or T cell, the white blood cells of adaptive immunity.

    Common misconceptions

    • “Antibodies stay high for life after an infection.” Antibody levels fall; it is memory cells that last.
    • “Antibiotics cure colds.” Colds are caused by viruses, and antibiotics only work against bacteria.
    • “A fever is always harmful.” A moderate fever is part of the body’s defence, although very high fevers need medical attention.

    Key takeaways

    • Barriers stop most pathogens; innate immunity responds quickly with inflammation and phagocytes.
    • Adaptive immunity uses B cells, antibodies and T cells that target one specific antigen.
    • White blood cells are made in the bone marrow; T cells mature in the thymus; lymph nodes and the spleen filter lymph and blood.
    • Memory cells make the secondary response faster and larger, which is how vaccines work.

    Model note: pathogen numbers, cell numbers and antibody levels are in relative units from a small set of equations tuned to show textbook-shaped curves. Real responses involve many more cell types and signals and vary greatly between pathogens and people. See our educational and medical disclaimer.

    Knowledge check

    Immune System and Defence Against Disease: test your understanding

    Answer each question to get instant feedback and an explanation. Use the simulator to check your thinking.

    8 questions3 basic3 intermediate2 advanced

    0 of 8 answered

    1. Q1BasicWhat is the body’s first line of defence against pathogens?
      Show answer

      Answer: B. Physical and chemical barriers such as skin, mucus and stomach acid

      Unbroken skin, sticky mucus, cilia, tears and stomach acid stop most pathogens from ever entering the tissues. In the simulator, the pathogen only gets in through a cut.

    2. Q2BasicWhere do T cells mature?
      Show answer

      Answer: B. In the thymus

      All white blood cells are made in the bone marrow, but T cells travel to the thymus to mature. B cells mature in the bone marrow itself.

    3. Q3BasicWhat do phagocytes do?
      Show answer

      Answer: B. Engulf and digest pathogens

      Phagocytes such as neutrophils and macrophages are part of innate immunity. They surround a pathogen, take it inside and destroy it with enzymes.

    4. Q4IntermediateWhy do inflamed areas look red, swollen and feel warm?
      Show answer

      Answer: B. Capillaries widen and become leakier, bringing more blood, fluid and white blood cells to the area

      Damaged cells release chemicals such as histamine. Wider, leakier capillaries let phagocytes and fluid reach the infection quickly; this is why the capillary widens in the simulation.

    5. Q5IntermediateWhat is an antigen?
      Show answer

      Answer: B. A molecule, often on the surface of a pathogen, that the immune system recognises as foreign

      Each B or T cell carries receptors that fit one particular antigen. Antibodies are the proteins made by B cells that bind to antigens.

    6. Q6IntermediateIn the simulator, why does the adaptive response take several days the first time?
      Show answer

      Answer: B. Only a few B and T cells recognise the new antigen, and they must divide many times before there are enough

      This multiplication is called clonal expansion. The innate response holds the infection back while the adaptive response builds up.

    7. Q7AdvancedWhy is the secondary immune response faster and larger than the primary response?
      Show answer

      Answer: B. Memory B and T cells from the first exposure recognise the antigen at once and multiply quickly

      Antibody levels fall after an infection, but memory cells remain for years. This is the basis of vaccination.

    8. Q8AdvancedHow does a vaccine protect a person?
      Show answer

      Answer: B. It exposes the immune system to a harmless form of an antigen, so memory cells form without causing the disease

      Vaccines trigger a primary response safely. If the real pathogen arrives later, the fast secondary response usually clears it before it causes serious illness.

    References and further reading

    1. Betts, J. G., et al. (2022). Anatomy and Physiology 2e, Chapter 21: The Lymphatic and Immune System. OpenStax. openstax.org (opens in a new tab)
    2. Murphy, K., & Weaver, C. (2016). Janeway’s Immunobiology (9th ed.). Garland Science.
    3. Clark, M. A., Douglas, M., & Choi, J. (2018). Biology 2e, Chapter 42: The Immune System. OpenStax. openstax.org (opens in a new tab)
    4. Perelson, A. S. (2002). Modelling viral and immune system dynamics. Nature Reviews Immunology, 2(1), 28–36.

    This page is an educational model, not medical advice. Found an error? Let us know. See our educational disclaimer.