A complex in an abelian category is a sequence with . A sequence is exact when the image of every incoming map equals the kernel of the outgoing map.
The Five lemma says that in a morphism between exact five-term sequences, suitable epimorphism assumptions on the left and monomorphism assumptions on the right, together with isomorphisms in the four surrounding positions, force the middle map to be an isomorphism.
The Snake lemma associates to a morphism of short exact sequences the exact sequence
The commutative diagram of short exact sequences of complexes induces a commutative diagram between the two long exact homology sequences from part (b). If any two vertical chain maps induce isomorphisms in every degree, then in each five-term window four of the five vertical homology maps are isomorphisms. The Five lemma makes the remaining map an isomorphism. Rotating the window handles each of the three possible missing columns, proving the two-out-of-three assertion.