Wood
is a mixture of many molecular substances.
Like sugar, most of them are made of just carbon, hydrogen
and oxygen atoms. Some are very big, with thousands
of atoms (even one of these molecules is still far too
small to be seen by a microscope).
When wood is heated, before any kind of melting, the
molecules decompose: