Mammals and flies both stave off pathogens using the innate immune response. In the fruit fly this involves cell-surface receptors belonging to the Toll family, which mediate separate anti-bacterial and anti-fungal responses in the same type of cell. Studies of two mammalian Toll-like receptors, TLR2 and TLR4, indicate that this system is also used in the innate immune responses of higher animals.