Some strains of bacterium streptococcus pyogenes secrete poisonous substances called exotoxins. the genes encoding the exotoxins are thought to have originated in bacteriophages, which are viruses that infect bacteria
The most likely mechanism by which the S. pyogenes acquired the ability to produce the extoxins : Bacteriophage DNA became integrated in the bacterial chromosome.