Innate immune cells recognize an invading pathogen immediately but can be inefficient and may not have enough phagocytes for speedy containment of invading pathogens.
Secondary immune responses are faster and better because of T cells and B cells, which remember that the body has come into contact with the pathogen before.