A substitution reaction is a type of chemical reaction where an atom or functional group of a molecule is replaced by another atom or functional group.
Example:
CH4+Cl2→CH3Cl+HCl
In the given reaction the hydrogen atom of the methane is substituted by one chlorine atom.