In order to reduce global warming, new energy fuels that use waste biomass to replace traditional coal are rapidly developing. The main purpose of this study is to investigate the feasibility behavior of different biomass materials such as spent coffee grounds (SCGs) and spent tea grounds (STGs) as fuel during combustion and their impact on the environment. This study involves using fuel shaping and co-firing methods to increase the fuel calorific value and reduce the emissions of pollutants, such as NOX and SO2, and greenhouse gas CO2. The produced gas content was analyzed using the HORIBA (PG-250) laboratory combustion apparatus. The results indicate that, among the measured formed particles, SCG:STG = 8:2, 6:4, and 4:6 had the lowest post-combustion pollutant gas emissions. Compared to using only waste coffee grounds as fuel, the NOx emissions were reduced from 166 ppm to 102 ppm, the CO emissions were reduced from 22 ppm to 12 ppm, and the CO2 emissions were reduced from 629 ppm to 323 ppm. In addition, the emission of SO2, the main component of acid rain, was reduced by 20 times compared to the combustion of traditional fuels. The SO2 emission of five different proportions of biomass fuels was 5 ppm, which is much lower than that of traditional coal fuels. Therefore, SCG and STG mixed fuels can replace coal as fuel while reducing harmful gasses.