The function of anhydrous AlCl3 in the Friedel-Craft's reaction is to:
absorb water.
absorb HCl.
to produce electrophile.
to produce nucleophile.