The influenza vaccine works by introducing inactivated (killed) or weakened forms of the virus into the body. This stimulates the immune system to produce antibodies without causing the disease itself. When the person is later exposed to the active virus, these antibodies help to neutralize the threat and prevent infection or reduce its severity.