Alexander Fleming discovered penicillin in 1928 while studying bacteria. He noticed that a mold was inhibiting the growth of bacteria, leading him to realize penicillin's potential as an antibiotic. Penicillin was originally used to treat a few bacterial infections but is now used for many more due to further research. It has undergone innovations like being developed into vaccines and tablets to treat infections and revolutionized medicine.