A tetanus shot is a vaccine that protects against tetanus, a serious bacterial infection that can cause muscle spasms and other severe symptoms. The vaccine contains inactivated tetanus bacteria and stimulates the body's immune system to produce antibodies against the bacteria.