Step 1: Understanding the Concept
Primary lymphoid organs are the bone marrow and the thymus, where immature lymphocytes become mature.
Step 2: Compare the options
Tonsils, Peyer's patches and lymph nodes are secondary lymphoid organs. The answer is the thymus, option (D).
Step 3: Check the options
Matching this result with the four options confirms the answer.
Final Answer:
The thymus is a primary lymphoid organ.
\[ \boxed{\text{(D) }\text{Thymus}} \]