Swarts reaction : It is one of the best rxn. to produce fluoroalkane. When alkyl chloride / alkyl bromide is heated in presence of metallic fluoride ( such as AgF, Hg2F2, CoF2 etc ), alkyl fluoride is produced. In this rxn, we should apply the metal fluoride having a heavy metal, as AgF, Hg2F2 etc. But if metal flouride as NaF or KF is used, yield of the rxn will decrease.
3R-X + SbF3 ----→3RF + SbX3 ( when alkyl bromide \ chloride is treated with metallic fluoride like CoF2 , SbF3 AgF etc It forms alkyl fluorine
Hope it helps
Regards
Arun (askIITians forum expert)