Penn State scientists uncovered an ancient bacterial defense where dormant viral DNA helps bacteria fight new viral threats. The enzyme PinQ flips bacterial genes to create protective proteins that block infection. Understanding this mechanism could lead to breakthroughs in antivirals, antibiotic alternatives, and industrial microbiology.