The remarkable Mentos geyser showcases a simple principle of science . Initially , the Mentos candies have a porous coating with numerous small holes . When added into a carbonated sugary soda, such as Diet Coke, these variations act as starting sites. Carbon dioxide, which is present in the soda under containment, suddenly bubbles up the liquid .