The formation of the double bond in is explained below:
Yes, the molecule of contains two double bonds.
The formation of a double bond occurs when pairs of electrons are shared between two atoms to attain maximum stability.
According to the Lewis structure, a carbon contributes its four electrons and each oxygen atom contributes its two electrons to form a stable molecule where four pairs of electrons are available.