Inflammation is the result of infection that is caused by for instance, breaking the skin through a cut. When this occurs, mast cells release histamine, a substance which results in the increased blood flow to the infected area. This is done because the blood vessels dilate and become wider, enabling an increased blood flow carrying phagocytes. The capillaries also become more permeable to allow for the phagocytes to leave the blood vessels and move to tissue that is affected. Meanwhile, these white blood cells are binding to, engulfing and destroying this foreign matter that has happened to cross the first line of defence. A scab forms because the phagocytes die after engulfing so many foreign particles; this forms the pus.
Complement proteins can be involved by, for instance, coating the foreign antigens with a substance that makes them for identifiable to phagocytes. They can stimulate and activate phagocytes to carry out their roles more effectively, or even induce lysis of cellular pathogens like bacteria.
Correct me if I'm wrong, but to my understanding once a pathogen crosses the barriers of the first line of defence, second and third line of defence happen simultaneously. It's just that third line of defence is slower due to the B cells having to find the matching antigen to undergo clonal expansion and produce antibodies from plasma cells and memory cells.
^ That's what I was actually thinking. Because if say a macrophage engulfed a non-self antigen and then presented antigen fragments by class-2 MHC markers to Helper T-cells, that would go from the second line of defence as the macrophage engulfs the foreign antigen, and to then activate the humoral and cell-mediated response to destroy the foreign antigens and any traces of it.