Bacteriophages, or phages, are viruses that infect and replicate within bacteria, composed of proteins encapsulating DNA or RNA genomes. They can be species-specific, but some polyvalent phages can infect various strains, notably observed in enterobacteria and staphylococci. Phages are crucial to bacterial ecology and evolution, influencing bacterial DNA exchange and playing a role in the pathogenicity of certain bacteria, such as the diphtheria toxin.