Why is burning plastic toxic?

ok, if plastic is just hydrocarbons, and hydrocarbons combust (at least in complete combustion) to form H2O and CO2, why are plastics toxic when they combust?
2 answers 2