The air inside the bubble is less dense than the surrounding air outside the bubble. Because the surrounding air encompasses of carbon dioxide in higher amounts. This is the main reason for the floating of bubbles. The other reason is the bubbles are very light in weight and float in to the air that contain carbon dioxide.