Aspirin can be prepared from methyl salicylate, the compound responsible for the smell of wintergreen. The synthesis is carried out in two steps.
Step 1: Methyl salicylate is refluxed with an excess of aqueous sodium hydroxide. The product is then acidified to give salicylic acid (2-hydroxybenzenecarboxylic acid).
Step 2: Salicylic acid is warmed with ethanoic anhydride in the presence of a little concentrated sulfuric acid.
Describe the type of reaction occurring in each step and the reagents and conditions used. State the functional group present in methyl salicylate that reacts in Step 1. For Step 2, name the organic product and state the functional group that is formed in it.