The reaction 2 NaCl + F₂ → 2 NaF + Cl₂ is a single displacement reaction (also called a substitution reaction).
In this reaction:
Fluorine (F₂), being more reactive than chlorine (Cl₂), displaces chlorine from sodium chloride (NaCl), forming sodium fluoride (NaF) and chlorine gas (Cl₂).
This occurs because fluorine is higher in the reactivity series of halogens than chlorine.