The immune response can be a humoral immune response, a cell-mediated immune response, or, desirably, a combination of humoral and cell-mediated immunity.
The immune response provides protection upon subsequent challenge with the pathogen comprising the antigen.