Each Mentos candy has thousands of tiny pores all over its surface. These tiny pores function as nucleation sites for carbon dioxide bubbles to form. As soon as the Mentos enter the soda, bubbles form all over their surface. They quickly sink to the bottom, causing carbon dioxide to be released by the carbonated liquid with which they come into contact along the way.