Lone Pair acting as Base.
Lone Pair acting as Base. Note the change in formal charges. As reactant oxygen had complete ownership of lone pair. In product it is shared. Oxygen more.