Search

Search papers and lessons

Immune System

Level 1 · 9 min read

The immune system is the body's defence network: fast, generic barriers and cells first, then slower, targeted responses that learn to recognise specific invaders.

On this page

TL;DR

The immune system is the set of cells, tissues and chemical signals that defends the body against germs and damaged cells. It works in two layers. The innate layer responds within minutes to hours, using barriers and cells that recognise broad patterns shared by many microbes. The adaptive layer is slower, taking days, but it targets specific molecules (called antigens) and keeps a memory of them.

This lesson is educational. It explains how the system works and is not medical advice. Questions about symptoms, treatment or vaccination belong with a doctor.

Where you'll see it: in the fever and swelling that come with an infection, in the reason a vaccine gives lasting protection, and in the rejection of transplanted organs.

Intuition

Start from a building with guards

Picture a large building with many doors. The first defence is the wall and the locked doors: skin, the lining of the gut and airways, and the acid in the stomach. Most intruders stop there. Those that get through meet security guards who stop anyone wearing a known bad uniform. They do not know each person by name, but they react quickly to the common signs of trouble. That is the innate immune system.

Some intruders are cleverer. The building then calls in specialists who take a sample of the intruder, study its particular shape, and train a squad to recognise that exact shape. The squad takes days to train, but afterwards it can find that intruder at once, and it keeps a record for years. That is the adaptive immune system.

The cast of characters

  • Barriers. Skin, the mucus lining the airways and gut, and stomach acid keep most microbes out.
  • Innate cells. White blood cells such as macrophages and neutrophils swallow and destroy microbes, and release chemical messengers called cytokines that raise the alarm. This causes the heat, swelling and redness of inflammation.
  • Antigens. An antigen is any molecule the adaptive system can recognise and respond to, such as a protein on a virus's surface.
  • B cells and antibodies. B cells are white blood cells that make antibodies, Y-shaped proteins that stick to one specific antigen and mark it for destruction.
  • T cells. T cells carry receptors that recognise antigens shown to them on the surface of other cells (see Antigen Presentation). Some kill infected cells, and the helper kind (T Helper Cells) coordinate the response. The molecules that display antigens are the Major Histocompatibility Complex (MHC).
  • Memory cells. After an infection, long-lived B and T cells remain, so a second encounter is answered faster and more strongly.

Why two layers

Speed and precision trade off. A general alarm is quick but blunt, and it can damage the building while it fights. A targeted response is accurate but slow to build. The body uses both. The innate layer buys time and sends signals, and the adaptive layer finishes the job and remembers the result.

A simple growth picture

Why must the fast layer be fast? Germs multiply. Suppose one bacterium divides every 20 minutes, which is an illustrative figure chosen for easy arithmetic. Then the count doubles each time, and in three hours it has gone up 512 times. The immune system has to act while the count is still small, which is why the fast layer matters. This growth model is a deliberate simplification: real infections slow down as food and space run out and as the immune system fights back.

0123456780100200300400500number of doublingscount relative to start
  • germ count, doubling every 20 min
Illustrative growth with one doubling every 20 minutes. Each step on the horizontal axis is one doubling, so 8 doublings is about 2.7 hours.

The math

Growth by repeated doubling is an exponential, here a power of two. If the count starts at N0N_0 and doubles every TT minutes, then after tt minutes

N(t)=N0⋅2t/TN(t) = N_0 \cdot 2^{t / T}

Here N0N_0 is the starting count, TT is the doubling time, and tt is elapsed time in the same units as TT. The exponent t/Tt/T counts doublings.

To find how long it takes to reach a target count NN, solve for tt by taking a Logarithm base two:

t=T⋅log⁡2NN0t = T \cdot \log_2 \frac{N}{N_0}

The immune system works against this curve. An innate response that cuts the count by even half during each doubling interval slows growth, and a targeted response can drive the count down faster than it grows.

Worked examples

Example
Doublings in a day

A bacterium doubles every 20 minutes and there are 24 hours, or 1,440 minutes, of growth.

  1. Count the doublings: 1440/20=721440 / 20 = 72.
  2. The count multiplies by 2722^{72}. This number is about 4.7×10214.7 \times 10^{21}.

Interpretation: unchecked growth is explosive. If each bacterium weighed about a trillionth of a gram, that count would weigh about 4.7×1094.7 \times 10^{9} grams, roughly 4,700 tonnes, from a single cell in one day. Real infections are limited by food, space and the immune system, so the count never reaches that figure.

Example
When the count passes a million

A starting count of one, doubling every 20 minutes, reaches one million, which is 10610^6.

  1. Solve 2d=1062^{d} = 10^6 for the number of doublings dd: d=log⁡2106=6/log⁡102≈19.93d = \log_2 10^6 = 6 / \log_{10} 2 \approx 19.93.
  2. Round up to a whole number of doublings: 20.
  3. Time: 20×20=40020 \times 20 = 400 minutes, about 6.7 hours.

Interpretation: a million is reached in under seven hours. A response that starts in minutes can act long before that, while a response that takes days to train arrives after the count has already grown very large. This is the arithmetic behind the two layers.

Example
A realistic kill rate

Suppose the innate layer, acting within the first hour, destroys a fixed share of the bacteria present in each 20-minute interval. Each interval the population doubles and then loses that share.

  1. Growth factor per interval: 22.
  2. If half of the population is destroyed per interval, the killing factor is 0.50.5, and the net factor is 2×0.5=12 \times 0.5 = 1.
  3. If two thirds are destroyed per interval, the killing factor is 1/31/3, and the net factor is 2×(1/3)=2/32 \times (1/3) = 2/3.

Interpretation: at a kill rate of one half the count is held flat, and at two thirds it falls. A response that destroys more than half of the population each interval outpaces a population that doubles. This is why speed matters so much.

Tradeoffs and failure modes

The two layers have different strengths, and most of the problems come from getting the balance wrong.

SituationProblemBetter response
Infection with a new microbeInnate response is broad and cannot always contain itAdaptive response takes days to learn the specific target
A repeat infection with a known microbeMemory cells respond faster and more stronglyVaccines use this to prepare memory without the disease
Immune response too strongTissue damage, fever, swellingDoctors may adjust treatment, which is a clinical decision
Immune system attacks the body's own cellsAutoimmune diseaseTolerance mechanisms normally prevent this; their failure is the problem
Transplanted organThe adaptive system recognises it as foreignImmunosuppression is used, with its own risks

The system is not simply "more is better". A response that is too weak lets infection spread, and one that is too strong damages the body. Tolerance, the training that stops the system attacking the body's own molecules, is as important as attack.

History

The idea that the body resists disease by a specific mechanism goes back to the late nineteenth century. Élie Metchnikoff studied white blood cells that engulf microbes, and he proposed that they are a central part of defence, which later became known as the innate system. Emil von Behring and Shibasaburo Kitasato showed in 1890 that serum from immunised animals could protect others, pointing to a substance-based or humoral side of immunity. Their work fed into the idea of antibodies.

In the twentieth century the two sides were joined into one picture. Experiments in the 1950s and 1960s, including work that separated thymus-derived (T) and bone-marrow-derived (B) lymphocytes, showed that the adaptive system relies on distinct cell types that recognise specific molecules. Peter Medawar's work on transplant rejection in the 1950s showed that rejection is an immune response and that tolerance to foreign tissue can be learned, which tied the adaptive system to the distinction between self and non-self. Those discoveries are why the modern picture is one system with two layers, rather than two rival theories.

Recap

The immune system defends the body in two layers. The innate layer is fast and broad, and it sends signals that start the adaptive layer. The adaptive layer is slow to start, precise, and keeps memory. Tolerance stops it attacking the body's own cells. The growth arithmetic shows why speed matters.

Check yourself

QuestionWhat is the main difference between the innate and adaptive immune systems?Show answer
The innate system responds within minutes to hours using broad patterns shared by many microbes, so it is fast but not specific. The adaptive system takes days to build a targeted response to a specific molecule, and it keeps memory, so a second encounter is faster and stronger.
QuestionA bacterium doubles every 20 minutes. How many doublings occur in 2 hours, and how much does the count grow?Show answer
Two hours is 120 minutes, so 120 divided by 20 gives 6 doublings. The count grows by 2 to the 6, which is 64 times.
QuestionUsing the same doubling time, how long does it take a count of one to reach 1,024?Show answer
1,024 is 2 to the 10. So 10 doublings are needed, and 10 times 20 minutes gives 200 minutes, about 3 hours and 20 minutes.
QuestionWhy is tolerance as important as attack for a healthy immune system?Show answer
An immune system that attacks the body's own molecules causes autoimmune disease, which damages tissue. Tolerance is the set of mechanisms that trains the system to leave the body's own cells alone while still attacking foreign ones. Without it, a stronger response would simply mean more self-damage.
QuestionWhy does a vaccine give protection without causing the disease?Show answer
A vaccine presents the adaptive system with a harmless form of the target antigen, such as an inactivated germ or a protein. The adaptive system builds a specific response and memory cells, so a later encounter with the real germ triggers a fast, strong reply. The vaccine does not need the full infection to create that memory.

Sources