Bacteria have lots of enemies. Among them are rivaling bacteria, viruses, and even DNA—namely, a special type of DNA called a plasmid, which can infect a microbe and hijack its inner resources to replicate. Luckily for them, bacteria have evolved remarkably flexible tactics for fighting off infections.