Bubbles derive the entirety of their physical existence from the mathematical phenomenon of minimal surface. Bubbles typically assume a shape based on the least possible amount of surface area required containing a given volume. Bubbles are filled with air but can also contain other gases, such as carbon dioxide.