Bamboo, wood, and coal were pyrolyzed by a thermogravimetric analyzer coupled with Fourier transform infrared spectrometry to investigate gaseous carbon, nitrogen, and sulfur compounds from fuels. It was found that the main gas compounds of fuels included carbon dioxide, carbon monoxide, methane, sulfur dioxide, hydrogen sulfide, ammonia gas, and hydrogen cyanide. Compared with masson pine, bamboo had a higher gas release and more mass loss due to its lower pyrolysis temperatures when temperature was lower than 350(omicron)C. Coal had the lowest gas release and the least mass loss due to the higher pyrolysis temperature during the whole pyrolysis process. The char-C, N, and S contents of all fuels increased with increase in pyrolysis temperature. The results from this research will be helpful to utilize the wastes of masson pine and bamboo for energy products.