Lesson 12: How the Immune System Fights Infection
Three lines of defence
The immune system defends the body in three layers. The first is the physical barriers: skin, mucus, stomach acid and tears, which keep most germs out. The second is the innate immune response — fast, general defences that attack any invader in the same way.
The third layer is the adaptive immune response, which is slower to start but specific: it learns to recognise a particular germ and remembers it. Together the three layers catch most threats before they cause serious illness.
The innate response: fast and general
When germs get past the barriers, white blood cells called phagocytes engulf and digest them. Other cells release chemicals that cause inflammation: the area becomes red, warm, swollen and painful as blood flow increases and more immune cells arrive.
Fever is also part of this response. Raising body temperature makes it harder for some germs to multiply, and speeds up immune cells. Inflammation and fever are uncomfortable, but they are signs the defence is working, not the disease itself.
The adaptive response: specific and memorable
The adaptive response uses lymphocytes: B cells and T cells. B cells make antibodies — Y-shaped proteins that fit a particular germ like a key in a lock and tag it for destruction. T cells kill infected body cells directly or help coordinate the attack.
The first time the body meets a new germ, this response takes days to build. Afterward, memory cells remain. If the same germ returns, the memory cells launch a much faster, stronger response — often before you feel ill at all.
How vaccines work
A vaccine trains the adaptive immune system without causing the disease. It presents the body with a harmless version of the germ — weakened, killed, or just a piece of it — so B and T cells learn to recognise it and memory cells are made.
When the real germ arrives later, the memory response is ready. Vaccines do not weaken the immune system; they give it a practice run. The protection they give to a whole community, when enough people are vaccinated, is called herd immunity.
When the immune system goes wrong
Sometimes the immune system attacks the body's own cells, mistaking them for invaders. These are autoimmune diseases — type 1 diabetes, in which the immune system destroys insulin-making cells, is one example.
Allergies are another misfire: the immune system overreacts to a harmless substance such as pollen or peanuts. And in immunodeficiency, the system is too weak to defend the body properly. Understanding these failures starts with understanding how the normal system works.
Immune memory does not last forever for every disease, which is why some vaccines need boosters. Tetanus protection, for example, fades over about ten years, so a booster reminds the immune system and refreshes the memory cells. For other diseases, such as measles, protection after vaccination or infection usually lasts for life. The length of memory depends on the germ and on how strongly the first response was made. This is also why catching the same cold twice is possible: cold viruses change their surface proteins, so the immune system may not recognise the new version.
You cut your finger. Skin, the first barrier, is broken, and bacteria enter. Within minutes, phagocytes arrive, blood flow to the area increases, and the cut becomes red and warm — inflammation.
If the bacteria are new to your body, B cells take days to make matching antibodies, but the innate response holds the line in the meantime. Memory cells keep a record, so the next time the same bacteria appear, the response is fast. The scab that forms is the repair crew finishing the job.
Washing your hands with soap helps the first line of defence by removing germs before they reach a cut or your mouth. Soap breaks up the fatty coats of many microbes, so a twenty-second wash is one of the simplest ways to give the immune system less work to do.
Common pitfalls
Fever and inflammation are the immune system at work, not the germ directly causing the symptoms.
Antibodies are specific — one antibody fits one germ, so protection against one disease does not protect against another.
A vaccine does not give you the disease; it gives the immune system a harmless practice target.
Further study
- Your school biology textbook — immunity, antibodies and vaccination.
- 3D Cell — see the white blood cells that defend the body
- 3D Anatomy Atlas — explore the lymphatic system and spleen
📝 Quiz
1. What is the body's first line of defence?
Show answer
d) Skin, mucus, stomach acid and tears block most germs before they can enter, so they are the first line of defence.
2. What do B cells make?
Show answer
d) B cells produce antibodies, proteins that fit a specific germ and tag it for destruction by other immune cells.
3. How does a vaccine protect you?
Show answer
d) A vaccine presents a harmless version of a germ so the adaptive immune system learns it and makes memory cells for a fast response later.
Alpha School by University & Beyond is a free, open online school (alpha.unb.college) and is not affiliated with Alpha School private campuses in the United States.