The Friedel-Crafts reaction is a type of electrophilic aromatic substitution that allows for the alkylation or acylation of aromatic rings. It was first discovered by Charles Friedel and James Crafts in the 19th century. There are two main types: Friedel-Crafts alkylation and Friedel-Crafts acylation.