The combustion of methane is CH
4 + 2O
2 CO
2 + 2H
2O
Meaning that for a plastic, which is also composed of hydrogen & carbon, it should all end up turning into gases. But, since this reaction isn't 100% efficient, you end up also making carbon as a side product.