The ability to edit genes at will, whether to reverse genetic diseases or improve food and energy crops, is undergoing a revolution. It is being driven by CRISPR-Cas9, a technology modeled on a cellular mechanism found in bacteria. CRISPR-Cas9 recognizes and cuts foreign genomic material from invading viruses and thus protects the bacteria from being infected.