1. The carbonated beverages contain CO2 dissolved in them. To dissolve the CO2 in these drinks, CO2 gas is bubbled through them under high pressure.
2. These containers are sealed to maintain the pressure. When we open these containers at atmospheric pressure, the pressure of the CO2 drops to the atmospheric pressure level and hence bubbles of CO2 rapidly escape from the solution and show effervescence.