Step 1: Understanding the Concept
The Swarts reaction converts an alkyl chloride or bromide into an alkyl fluoride using heavy metal fluorides such as \(\text{AgF}\), \(\text{Hg}_2\text{F}_2\), \(\text{CoF}_2\) or \(\text{SbF}_3\).
Step 2: Reaction
\(\text{R-Br} + \text{AgF} \rightarrow \text{R-F} + \text{AgBr}\)
Step 3: Conclusion
Hence the Swarts reaction is a method for preparing alkyl fluorides.
Final Answer:
The Swarts reaction gives alkyl fluorides.
\[ \boxed{\text{(D) }\text{Alkyl fluorides}} \]