## 3 Results
### Electrochemical Performance  
The electrochemical properties of the carbon aerogel and N-doped carbon aerogel were tested in a 6 M KOH aqueous electrolyte at room temperature. Figure 5a compares the CV curves of the carbon aerogel and N-doped carbon aerogel (10 mV s\({}^{-1}\)). Both samples exhibited approximately rectangular curves, suggesting that the supercapacitors possessed a super capacitive behavior and good reversibility. In addition, N-doped carbon aerogel electrodes showed higher current densities than  
Figure 4: (**a**) XRD and (**b**) Raman analysis of carbon aerogel and N-doped carbon aerogel. Figure 3: (**a**) X-ray photoelectron spectroscopy (XPS) spectra of carbon aerogel and N-doped carbon aerogel; (**b**) high-resolution XPS spectra of the fitted N 1s of N-doped carbon aerogel; (**c**) the reaction mechanism of the pseudocapacitance effect of pyridine N and pyrrolic N in KOH aqueous electrolyte. those of the carbon aerogel sample, indicating that the N-doped carbon aerogel had high capacitances. The result can be further explained by C\({}_{\text{CV}}\) values at 10 mV s\({}^{-1}\). The C\({}_{\text{CV}}\) for the N-doped carbon aerogel and carbon aerogel were 120 F g\({}^{-1}\) and 104 F g\({}^{-1}\), respectively. Figure 5b shows the CV curves of the N-doped carbon aerogel aqueous electrolyte capacitors at scan rates from 5 to 400 mV s\({}^{-1}\). The current response increased as the scan rate increased, and the shapes of the CV curves were retained, indicating that N-doped carbon aerogel exhibited an ideal electrical double layer. Hence, the electrodes exhibited supercapacitor electrode behavior and a good rate capability. Comparing the carbon aerogel and N-doped carbon aerogel, it can be observed that the specific surface area and total pore volume decrease a little but that the electrochemical performance capacitance increases. Therefore, doping heteroatom nitrogen is a promising strategy to further tailor the chemical properties of sp\({}^{2}\) carbon materials and can efficiently improve the wettability of the interface between electrodes and electrolytes, resulting in a considerable increase in the accessible surface area of the electrolyte, promoting electron transfer reactions and consequently enhancing the whole capacitive performance of the supercapacitors. Thus, we attribute the high capacitive performance of our N-doped carbon aerogel electrodes to the 3D network structure with N-doping. The galvanostatic charge/discharge performances of the prepared sample electrodes at 1 A g\({}^{-1}\) were tested (Figure 5c). The N-doped carbon aerogels had a better capacitance performance owing to their greater charge/discharge time and more symmetrical curves. We attribute these features to the porous structure of nitrogen-doped aerogels, resulting in the kinetics of ion and electron transport being increased at the electrode/electrolyte interface. As shown in Figure 5d, the galvanostatic charge/discharge performance of the N-doped carbon aerogel electrode (1 to 10 A g\({}^{-1}\)) was also tested. Obviously, as the current density increased, the charge/discharge time decreased. This can be attributed to the shorter time for electrolyte ions to diffuse into the pores of the electrodes. Furthermore, at different current densities, the charge/discharge curves of the N-doped carbon aerogel also exhibited an equicrural triangle shape, suggesting ideal capacitor behavior (Figure 5c). Figure 5e exhibits the specific capacitances of the carbon aerogel and N-doped carbon aerogel calculated from the galvanostatic discharge data. At the same current density from 1 to 10 A g\({}^{-1}\), the N-doped carbon aerogel showed a higher specific capacitance.