When you trigger a soda fountain dispenser, a carbon dioxide tank infuses the water coming into the machine with carbonation. Both the carbonated water and a flavored syrup combine in your cup.