The reactions in which one ion or atom in a compound is replaced (or substituted) by an ion or atom of the other element are called displacement reactions.
AB + C → AC + B
Example:
Metal displacement
CuSO4 + Zn → ZnSO4 + Cu
Example:
Non-metal displacement
2KBr + Cl2 → 2KCl + Br2