Fleming was a captain in the Royal Army Medical Corps during World War I. He saw many soldiers die of infection after being wounded, and after the war did research in bacteriology. After accidentally finding penicillin he studied ways to use it. 