Regarding the pore size distribution in Fig.3(c) and Fig.3(d), the colored area represented the relative change of the pore amount in the corresponding pore size range. Compared with OP-PC, OP-Hcel-PC possessed richer pores in the range of 0.75–0.9 nm. Besides, the pores in the range of 1.0–1.4 and 1.85–2.9 nm increased slightly. As micropores provide principal adsorption sites for VOCs adsorption, the increased micropores can effectively improve the VOCs adsorption capacity [
34,
35]. However, the pore structure of 2.9–8.0 nm was reduced, which hindered the rapid capture of toluene and prolonged the adsorption time [
34,
36]. These results explained the addition of hemicellulose significantly increased the specific surface area of micropores and decreased the specific surface area of mesopores. As for OP-Cel-PC, the pores in the range of 0.72–0.84 and 2–2.65 nm became more abundant, while the pore structure declined at 0.84–1.05, 1.1–2.0, and 2.65–10 nm. Therefore, the specific surface area of mesopores in OP-Cel-PC was significantly reduced. There were more micropores in OP-Lig-PC than in OP-PC in the 0.5–0.55, 0.72–0.85, and 1–1.2 nm ranges. The narrower micropores (size < 0.7 nm) can better reflect benzene adsorption capacity [
37]. For VOCs of small molecules, narrow micropores are more conducive to improving the adsorption capacity. Although the micropores of 0.85–1 and 1.2–1.96 nm declined, the total specific surface area of micropores of OP-Lig-PC increased. In addition, the pore structure of 2–2.7 nm increased, while the pores in 2.7–10 nm considerably decreased, resulting in an apparent reduction of mesopores. To sum up, hemicellulose was the major contributor to the porosity and micropore development of porous carbon, which was beneficial to improving the VOCs adsorption performance. Cellulose caused both the micropore and mesopore structure of porous carbon worse, indicating it was unfavorable for pore development, while lignin led to richer micropores and poorer mesopores.