Answer:
I'm not entirely sure, but I've heard that vaccines contain very weak amounts of the virus in order to expose your body to it, so that your body can become immune to it before being exposed to the real thing.
So basically, a flu shot contains a weak version of influenza.
I don't know this for sure, but hopefully this helps!