Concept:
Swarts reaction is used to prepare alkyl fluorides by replacing halogen atoms (Cl/Br) with fluorine using metal fluorides like $\mathrm{AgF}$, $\mathrm{SbF_3}$, etc.
Step 1: Identify reaction type.
\[
\mathrm{CH_3Br + AgF \rightarrow CH_3F + AgBr}
\]
Halogen exchange: Br replaced by F
Step 2: Name the reaction.
This halogen exchange using metal fluoride is called Swarts reaction.