The Reimer-Tiemann reaction involves the electrophilic substitution of phenol with chloroform to form substituted benzal chloride.