How did Louis pasteur do what it did?

pasteur was a great scientist and he was first man who discovered treatment of rabies and he use inoculation for anthrax