All the particles gain more energy and move quicker and therefore they spread out causing air to expand
<h3>Types of Osmosis</h3>
Osmosis is of two types:
Endosmosis– When a substance is placed in a hypotonic solution, the solvent molecules move inside the cell and the cell becomes turgid or undergoes deplasmolysis. This is known as endosmosis.
Exosmosis– When a substance is placed in a hypertonic solution, the solvent molecules move outside the cell and the cell becomes flaccid or undergoes plasmolysis. This is known as exosmosis.
Carbonated drinks have the air under pressure so that carbon bubbles are forced into the drink, keeping it carbonated. So when you open a can, the air under pressure in the can comes out of the can at a high speed, making a "whooshing" sound. The gas law that applies to this concept is the Boyle's Law (PV=k or P1V1=P2V2).