In the presence of Lewis acids such as anhydrous aluminum trichloride, aromatic hydrocarbons react with haloalkanes, and an electrophilic substitution reaction occurs on the aromatic ring, and its hydrogen atoms are replaced by alkyl groups to generate alkyl aromatic hydrocarbons. The reaction is called Friedel-Crafts alkylation
