The question, as written, is vague. So let's focus on the definition of "burning."The type of material is unclear, so let's define "burning." The chemical definition of "burning" is the (sometimes rapid) oxidation of a substance with oxygen, often producing heat and sometimes light. A material burned with oxygen will become an "oxide" of whatever elements are in the material. Carbon, when burned, becomes carbon dioxide. Hydrogen becomes dihydrogen oxide (H2O, water). If the element in the substance is light enough, as both carbon and hydrogen are, it's oxide will usually become a gas, like CO2 and water, at the right conditions of temperature and pressure. Others, such as iron, will remain as a solid.