Allergy shots contain small amounts of the substance you’re allergic to

By giving tiny amounts of the substance to which you’re allergic, allergy shots aim to manipulate the immune system into recognizing the substance as something normal, rather than reacting to it in an abnormal, allergic way.