There are many stories of such happy accidents throughout modern history. For example, one of the greatest medical discoveries of the 20th century was antibiotics, a kind of medication used to kill bacteria that cause disease. Since the discovery, antibiotics may have saved millions of lives. Yet, the discovery of the first antibiotic happened by accident.