Why does beer have bubbles? And how many are there in a glass? Beer has bubbles because it contains dissolved carbon dioxide (CO2). Carbon dioxide is produced during the fermentation of beer, when yeasts convert sugars into alcohol and carbon dioxide.