Phenol reacts with methyl chloroformate in the presence of NaOH to form product A. A reacts with Br2 to form product B. A and B are respectively:
B.
This step involves acid-base reaction at first followed by SNAE reactions:
Step 1:
Step 2:
This step is called bromination.
Mechanism of above reaction is given as,
Phenol on treatment with CO2 in the presence of NaOH followed by acidification produces compound X as the major product. X on treatment with (CH3CO)2O in the presence of catalytic amount of H2SO4 produces:
D.