Jenner dicided to do scientific research on cowpox.
He learned that people got cowpox from working with cows.
It was not dangerous and never killed anyone.
The milkmaid often got sick, but then they became healthy again and when back to work.
Jenner did research, and he discovered that did not get smallpox. The stories were true.