A: A vaccine is a preparation that contains a weakened or killed pathogen, or a part of the pathogen, which triggers the immune system to produce an immune response and develop immunity to the disease, while an antibiotic is a medication that kills or inhibits the growth of bacteria.