The __________ system is responsible for distinguishing between the different kinds of pathogens and reacting to each according to its type.