Answer:
The dairymaids possessed immunity against the more extreme smallpox as due to getting exposed to cowpox, the body of the dairymaids generated certain kinds of substance to defend against the cowpox, which also helped in defending smallpox.
When Edward Jenner found that the dairymaids suffering from cowpox possessed immunity towards smallpox, he concluded that the emergence of cowpox at the same time developed immunity towards smallpox. To ensure, Jenner collected a fluid sample from the pustule of cowpox and administered it within a boy's body, and thus, discovered the principle of immunity.