A vaccine is a substance that stimulates the immune system to produce antibodies against the antigen or a substance that resembles disease-causing microorganism is inserted in the body, so that the immune system can recognize it as foreign, destroy it and remember it, so the next time when an actual pathogen attacks, immune system can destroy it before it can harm the body.