Key Idea Nucleophilic substitution reactions involve substitution (replacement) of a group or atom by a nucleophile.
$\begin{aligned}
& \mathrm{KOH} \longrightarrow \mathrm{K}^{+}+\mathrm{OH}^{-} \\
& \mathrm{RX}+\underset{\text { nucleophile }}{\mathrm{OH}^{-}} \longrightarrow \mathrm{R}-\mathrm{OH}+\mathrm{KX} \\
&
\end{aligned}$