When an animal is vaccinated, B lymphocytes respond to the vaccine by producing IgM-and IgG-class antibodies.