Bacteria can inherit a molecular memory of a virus
After surviving a phage attack, bacteria or archaea can insert fragments of the invader’s DNA into CRISPR regions of their own genome. Descendants inherit those sequences and can use them to recognize and attack matching viruses later.