Step 1: Mechanism.
It stores fragments of viral DNA as spacers. When the virus attacks again, CRISPR RNA guides Cas proteins to destroy the viral genome.
Step 2: Immunity classification.
Because the system "remembers" previous viral infections, it is a form of adaptive immunity, not innate immunity.
Since bacteria are prokaryotes, it corresponds to adaptive immunity in prokaryotes.
Step 3: Conclusion.
Correct option is (B).