The Baeyer Villiger oxidation allows the transformation of ketones into esters.

baeyer-villliger-01.gif
the ketone reacts with hydrogen peroxide or a peracid to form the ester . The oxidant inserts an oxygen atom between the carbonyl carbon and its neighbor (alpha carbon).
Cyclic ketones produce lactones by Baeyer-Villiger oxidation.
baeyer-villliger-02.gif
In the case of substituted ketones, oxygen enters from the side with more substituents.
baeyer-villliger-03.gif
The reaction of aldehydes with peracids produces carboxylic acids.
baeyer-villliger-04.gif