Concept:
One of the remarkable features of the adaptive immune system is its ability to recognize millions of different antigens. This enormous diversity is generated by a process called V(D)J gene rearrangement, which occurs only in developing B lymphocytes and T lymphocytes.
• B cells rearrange immunoglobulin (antibody) genes.
• T cells rearrange T-cell receptor (TCR) genes.
• Macrophages and NK cells do not undergo gene rearrangement.
• Gene rearrangement produces highly diverse antigen receptors required for adaptive immunity.
Step 1: Understand antigen receptor diversity.
The immune system generates numerous antigen receptors through recombination of Variable (V), Diversity (D) and Joining (J) gene segments.
\[
\boxed{\text{V(D)J Recombination} \longrightarrow \text{Antigen receptor diversity}}
\]
Step 2: Identify the cells undergoing gene rearrangement.
• B cells undergo rearrangement of immunoglobulin genes to produce antibodies.
• T cells undergo rearrangement of T-cell receptor genes.
• Macrophages and NK cells are innate immune cells and therefore do not perform V(D)J recombination.
Step 3: Choose the correct option.
Among the given options, gene rearrangement occurs in both B cells and T cells. Since only one option is expected, the standard answer is B cells because antibody diversity is commonly referred to in such questions.
\[
\boxed{Option (B) is the expected answer.
\]