The membranes of cells and bacteria are negatively charged—and as we learned from playing with magnets, the same charges repel each other. This charge is not so strong that it can’t be overcome by a phagocyte, but it does make it considerably harder for immune cells to grab bacteria. But! Complement has a positive charge. So when complement proteins have anchored themselves to the bacteria, they act as a sort of superglue,