When the body is exposed to a bacterial toxin for the first time, it is recognised as foreign and an immune response will be mounted. In response to the toxin, B lymphocytes will be produced which make antitoxins to neutralise the toxins. Some B lymphocytes will then become memory cells. This results in a faster immune response when next infected with the same toxin and so immunity is established.