A bacterium's CRISPR can keep a timeline of past infections
Bacteria usually add new pieces of viral DNA to one end of their CRISPR array. Because the newest pieces are added in order, the array can preserve a genetic timeline of viruses the bacterium and its ancestors encountered.