Bacteria and the viruses that infect them—known as phages—coexist in soils, oceans and living organisms. Scientists have long thought this coexistence reflects a microscopic version of an evolutionary arms race: As parasites and hosts continually adapt to one another, both evolve ways to survive.