Treatment of an alkylbenzene with potassium permanganate results in oxidation to give the benzoic acid. The reaction only works if there is a hydrogen attached to the carbon of alkyl group.
As the carboxylic group is deactivating group, it directs Br+electrophile to meta-position. The Br+ electrophile is formed through this reaction.