The substances in MENTOS are gelatin and gum Arabic that helps the gas molecules to escape even more quickly in the process called NUCLEATION.
While the carbon dioxide (CO2) is the substance that present in the Diet Coke and once the carbon dioxide has been dissolved, a process called CARBONATION that results in soda's signature fizz.
They say that the right candy will cause the right soda to explode!