As a renewable and clean energy, biogas and solar energy has attracted widely attention. In this paper, straw, leaves and corncob were carbonized by microwave pyrolytic carbonization technique, then, the carbonized-biomass were used as accelerant in anaerobic digestion (AD) and as counter electrode (CE) catalyst in dye-sensitized solar cells (DSSCs). The influence of the as-prepared carbon materials as accelerants on biogas production, chemical oxygen demand (COD) removing rate, pH value of the AD system and on the photovoltaic performance of DSSCs as CE catalysts was investigated, and further understanding the potential application of carbonized-biomass in the field of solar energy and biomass energy was discussed. Results indicate that, adding of carbonized-biomass as accelerant into anaerobic digestion system can obviously increase the biogas production (649 mL/g VS vs. 409 mL/g VS), improve the COD removing rate (68.00 % vs. 29.55 %), but has no effect on the pH value of the biogas AD system. The photoelectric conversion efficiency (PCE) of DSSCs using the carbonized-biomass is close to the traditional Pt electrode under the same condition (3.52 % vs. 4.64 %). The as-prepared carbon materials can be used as low-cost alternative Pt materials in DSSCs.