Open Access Article
V. N. Dhilshada,
M. Shilpa and
Mausumi Chattopadhyaya
*
Department of Chemistry, National Institute of Technology, Calicut Mukkam Road, Kattangal, Calicut, Kerala 673601, India. E-mail: mausumi@nitc.ac.in
First published on 14th January 2026
Utilizing density functional theory (DFT) calculations, we investigated the adsorption behavior of key exhaled breath biomarkers – benzene, toluene, aniline, and o-toluidine – on both pristine g-C3N4 and g-C3N4/CoN4 composite surfaces. By analyzing the key parameters such as adsorption energy, electronic density of states (DOS), band structures, charge density difference, conductivity and work function we gained critical insight into the interaction mechanisms between the gas molecules and the sensor surfaces. Our results reveal that the incorporation of CoN4 significantly enhances the chemical reactivity and stability of the g-C3N4 substrate, further improving upon gas adsorption. Notably, benzene, toluene, and aniline exhibit reversible adsorption behavior on g-C3N4/CoN4, highlighting their suitability for reusable gas sensor applications. In contrast, o-toluidine shows irreversible binding, potentially limiting its reusability. Aniline exhibits the lowest band gap and highest conductivity, highest sensitivity and strongest orbital hybridization, confirming that the g-C3N4/CoN4 substrate acts as the best sensor towards aniline gas molecules, among the investigated molecules. Band structure analysis of aniline adsorbed on the g-C3N4/CoN4 heterostructure further confirms that the composite exhibits improved electrical conductivity, even at room temperature, reinforcing its potential for biomarker sensing in human breath analysis. These theoretical findings establish g-C3N4/CoN4 as a promising candidate material and provide predictive guidelines for future experimental investigations into selective and sensitive detection of benzene-related VOCs.
Changes in bioelectric signals have been associated with various cancers, including those affecting the breast, lung, liver, brain, pancreas, and prostate.2 These bioelectric alterations could potentially serve as early indicators for cancer detection. Moreover, each type of cancer is linked to specific metabolic and biochemical processes, resulting in the production of unique volatile organic compound (VOC) profiles. These distinct VOC patterns, associated with different cancers and affected organs, can be used to differentiate between healthy individuals and those with cancer, as well as to identify the specific type of cancer.2 Detecting these biomarkers from exhaled breath samples offers a simple, affordable, and non-invasive method, potentially playing a crucial role in the early detection of lung cancer.3
Among the reported exhaled VOCs, benzene, aniline, toluene, and o-toluidine are recognized as important lung cancer biomarkers. These compounds have been frequently detected in breath samples of lung cancer patients and, even at trace concentrations, provide valuable diagnostic information. Hence, the development of highly sensitive and selective sensing platforms for their detection is of great clinical significance. In this context, Gregis et al.4 found that activated carbon microspheres (W5) and zeolite NaY are the most effective materials for adsorbing toluene gas at very low concentrations. Ayad et al.5 developed a sensor using the quartz crystal microbalance (QCM) technique to detect various primary aliphatic alcohols, including ethanol, methanol, 1-propanol, and 2-propanol vapors. The detection mechanism relies on a thin, sensitive polyaniline film coated onto the QCM electrode, enabling effective identification of these alcohol vapors. Luo et al.6 reported that Co-doped ZnO exhibited a strong response to low concentrations of isopropanol, while Co3O4–ZnO showed better performance in detecting acetone. Panigrahi et al.7 proposed a nanosensor based on titanium carbide MXenes (Ti3C2Tx) to detect specific volatile organic compounds (VOCs) present in human breath. A set of representative VOCs, including 2,3,4-trimethylhexane, aniline, ethylbenzene, isoprene, and o-toluidine, were selected, and their adsorption mechanisms with Ti3C2Tx were thoroughly studied using first-principles DFT calculations.
Nanomaterials have emerged as promising candidates for early lung cancer detection due to their high surface-to-volume ratio, enhanced sensitivity, and ability to selectively interact with specific biomarkers.8 Nanosensors offer non-invasive, rapid, and cost-effective diagnostic tools, contributing to early detection and improved patient outcomes. In 2004, Páez et al.9 conducted both experimental and theoretical studies on the gas sensing capabilities of CNx nanotubes for ethanol, acetone, and ammonia. They found that CNx nanotubes were more effective than pure carbon nanotubes due to the presence of highly reactive pyridine-like sites. Karlický et al.10 investigated the adsorption of various small organic molecules, including acetone, ethanol, dichloromethane, benzene, and toluene, on graphene surfaces using both theoretical and experimental approaches. Aasi et al.11 employed DFT to study the effects of individual toluene molecules on the structural, electronic, and magnetic properties of pristine and metal-decorated Single-Walled Carbon Nanotubes (SWCNTs). Their findings suggested that metal-decorated SWCNT molecular sensors hold promise for the detection of toluene and other lung cancer biomarkers in exhaled breath. Mosahebfard et al.12 studied MoSe2 monolayer as a potential biosensor for early lung cancer diagnosis by examining the adsorption behavior, bandgap modulation, and charge transfer of MoSe2 upon adsorption of biomarkers hexanal, nonanal, and p-cresol. Their findings suggest that MoSe2 exhibits promising physisorption properties and reasonable recovery times, making it a potential candidate for further development as a lung cancer biosensor.
In that context, graphitic carbon nitride (g-C3N4) is a promising material for gas sensor applications due to its unique properties.13 It possesses a favorable electronic band structure, high biocompatibility, and easy synthesis. Its large surface area with tunable electronic structures and excellent thermal stability make it suitable for gas sensing.14 However, the sensing performance of g-C3N4 can be further improved through strategies like metal doping, metal oxide/g-C3N4 composites, and surface functionalization. g-C3N4 exhibits intrinsic defects that act as active sites for gas adsorption. Self-doping with carbon atoms can improve the electrical conductivity of g-C3N4 by creating delocalized π-bonds, leading to enhanced electron transfer and reduced bandgap.15 These combined properties make g-C3N4 a promising candidate for gas sensing applications. Bicheng Zhu and co-workers16 studied CO2 adsorption on g-C3N4 using first-principles calculations. Parthasarathy Srinivasan et al.17 presented a detailed sensing mechanism of g-C3N4 as a chemiresistive gas sensor for volatile organic compounds (VOCs), along with the specific rationales for selective detection. They found that optimizing the composition, dopant concentration, loading percentage, and functionalization ratio of g-C3N4 with metals and metal oxides can lead to enhanced selectivity, faster response times, and lower detection limits.
Currently, there is increasing research into the sensor capabilities of heterostructures18–21 and the reasons are many-fold. First of all, the nanoscale effects of heterostructures can significantly influence the band alignment and carrier concentration within the heterostructure, resulting in effective electron–hole separation at the heterojunction. This characteristic is crucial for their potential use in chemical and biological sensors. Secondly, heterostructures allow two different materials to interact with target molecules, enhancing their sensing properties synergistically. By stacking materials with distinct band structures and work functions, it is possible to achieve controlled band alignment at the interface, leading to improved sensing performance and increased selectivity. This enhanced selectivity can be achieved by exploiting the molecular adsorption properties of each component. In view of this, Cao et al.18 created a cocoon-like hybrid nanocomposite of ZnO and graphitic carbon nitride using a simple hydrothermal process and found that the g-C3N4/ZnO nanocomposite sensor demonstrated exceptional gas sensing performance for ethanol. It featured a low optimal operating temperature and maintained strong linearity across a broad range of gas concentrations. Wang et al.19 developed a highly efficient acetone sensor using g-C3N4/WO3 nanocomposites and demonstrated its superior performance compared to unmodified WO3 nanostructures. Zhang et al.20 created g-C3N4/SnO2 composites using a sonication mixing technique, which enhanced the gas sensing properties compared to pure SnO2. They discovered that the g-C3N4/SnO2 material shows promise as a sensor for acetic acid. Li et al.21 successfully prepared flower-like NiO and g-C3N4-decorated NiO composites (Ni/CN) using a straightforward one-step hydrothermal method. They found that the 10 wt% g-C3N4(Ni/CN-10) sensor outperformed the pure NiO sensor, showing a nearly threefold increase in response to triethylamine at an optimal temperature of 280 °C. Additionally, the Ni/CN sensor demonstrated improved selectivity and stability, largely due to the incorporation of g-C3N4.
Transition metal-based g-C3N4 has been reported as a promising material for gas sensing applications. Zhang et al.22 prepared a-Fe2O3/g-C3N4 nanocomposites using a hydrothermal and pyrolysis method. The formation of heterojunctions in these nanocomposites resulted in improved gas sensing performance compared to pure a-Fe2O3 and g-C3N4. Gong et al.23 synthesized a ball-flower-like Co3O4 composite decorated with carbon nitride using a simple hydrothermal method. The carbon nitride-decorated Co3O4 composite demonstrated significantly enhanced ethanol sensing properties, with a response 1.6 times higher than pure Co3O4. Additionally, the composite exhibited high selectivity and stability towards ethanol detection. Dong et al.24 developed a Schottky heterojunction sensor modified with g-C3N4 quantum dots (g-C3N4QDs) and reduced graphene oxide (rGO) deposited on TiO2 nanotube (TNT) arrays. This sensor demonstrated a high response, exceptionally fast response and recovery times, and outstanding sensitivity for detecting NO2 at ppb levels at room temperature. Zhang et al.25 successfully synthesized g-C3N4-decorated magnesium ferrite (MgFe2O4) porous microsphere composites using a one-step solvothermal method. The gas-sensing performance of these composites was measured and compared with a sensor based on pure MgFe2O4. Notably, the MgFe2O4/g-C3N4 composite sensor with 10 wt% g-C3N4 content showed a response to acetone that was enhanced by approximately 145 times, while the optimal operating temperature was reduced by 60 °C. Wang et al.26 developed a one-step hydrothermal method to synthesize a CuO–ZnO/g-C3N4 ternary composite. The resulting CuO–ZnO/g-C3N4 displayed significantly enhanced ethanol-sensing properties, with responses 1.34 times and 2.17 times higher than those of CuO–ZnO and CuO alone, respectively. This improvement in gas-sensing performance was attributed to the effective p–n junctions between CuO and ZnO, along with the excellent substrate effect of the g-C3N4 nanosheets. Sneha et al.27 reported that Co-doping significantly enhanced the gas sensing performance of g-C3N4 toward lung cancer biomarkers such as acetone, ethanol, and aniline. Co-g-C3N4 exhibited a reduced band gap, improved conductivity, and shorter recovery times—particularly for aniline due to its physisorption nature. These results established Co-g-C3N4 as a promising reusable sensor for exhaled breath analysis.
Very recently utilising the DFT calculations, V. N et al.28,29 modelled g-C3N4/CoN4 heterojunction and found that it can act as a type I photocatalyst for water-splitting reactions. Furthermore, in another work, they reported30 that the same g-C3N4/CoN4 heterojunction while exposed under strain and electric field perturbation switches from type I to type II photocatalyst, which was attributed by the crossover between valence and conduction band in presence of external perturbation. In a more recent work, V. N et al.31 showed that boron and fluorine co-doping of the g-C3N4/CoN4 heterojunction transforms its electronic structure from type-I to a direct Z-scheme, which enhances charge carrier separation and redox ability. This Z-scheme heterojunction is proposed as an efficient photocatalyst for overall water splitting reaction, highlighting the tunability of g-C3N4/CoN4-based systems for energy applications.32
In this work, density functional theory (DFT) was employed to systematically investigate the adsorption behavior and electronic response of key aromatic biomarkers—benzene, toluene, aniline, and o-toluidine—on both pristine g-C3N4 and g-C3N4/CoN4 surfaces. Although g-C3N4 had been widely studied as a photocatalyst, its potential for selective gas sensing, particularly when modified with transition metal complexes in the form of a heretojunction is still less explored. Adsorption energetics, electronic structures, charge transfer characteristics, and work function variations were evaluated to gain insights into how functional groups influenced sensor performance. It was revealed that the g-C3N4/CoN4 heterostructure exhibited enhanced sensitivity and selectivity toward aniline, indicating its promise as a potential candidate for real-time detection of breath biomarkers. The in silico observation of g-C3N4/CoN4 heterostructure for selective and sensitive detection of aniline vapors is unknown to date.
| Eads = Etotal − [EHeterojunction − Egas molecule] | (1) |
![]() | ||
| Fig. 1 Optimized geometries of (a) g-C3N4 primitive unit cell (b) CoN4 bulk and (c) g-C3N4/CoN4 heterojunction. | ||
Next, we considered the diamond-like crystal structure of bulk CoN4 (Fig. 1(b)), which was optimized using the Generalized Gradient Approximation (GGA) with the Perdew–Burke–Ernzerhof (PBE) functional. The primitive unit cell of CoN4 was derived from this optimized bulk structure. To confirm the thermodynamic stability of bulk CoN4, we calculated the formation energy (Eformation) using the equation:42
![]() | (2) |
| System | Non magnetic state | Ferromagnetic state | Anti-ferromagnetic state |
|---|---|---|---|
| Energy (eV) | 0 | −2.0 | −1.5 |
The computed lattice parameters for CoN4 are a = b = c = 11.4 Å (Fig. 1(b)), in good agreement with theoretical values (a = b = c = 11.235 Å).45 The bond lengths for Co–N and N–N are 1.89 Å and 1.15 Å, respectively, in line with reported theoretical values (Co–N: 1.84 Å, N–N: 1.18 Å),42 affirming the reliability of our results.
To construct a realistic heterojunction model combining g-C3N4 and CoN4, we first calculated the surface energy (γ) for the (100), (110), and (111) CoN4 slabs using the equation:43
![]() | (3) |
The compatibility of the lattice interface (Fig. 1(c)) was ensured by matching a 2 × 2 × 1 heptazine with a √3×√3 × 1 CoN4 (111) slab. The lattice mismatch (δ) was calculated using the equation:
![]() | (4) |
After while phonon spectra analysis was performed to check the dynamic stability of CoN4(111) slab and presented in Fig. 2. Absence of negative frequencies in the phonon spectra in Fig. 2(a) and (b) confirmed the lattice-dynamic stability of CoN4 bulk and slab. Fig. 2(a) represents the phonon spectra of CoN4 bulk, which matched with the reported literature and thereby confirms the stability of the system as well as reliability of our calculations.42
To assess the thermodynamic stability of the heterojunction and the interaction between g-C3N4 and CoN4 (111), the adhesion energy (Ead) was calculated using the equation:45
| Ead = Eg-C3N4/CoN4 − EgC3N4 − ECoN4 | (5) |
The C–C bond length in benzene (Fig. S1(a)), the C1–C2 and C2–C3 bond length in toluene (Fig. S1(b)), the C–N bond length in aniline (Fig. S1(c)) and the C5–C6 bond length in o-toluidine (Fig. S1(d)) were measured as 1.399 Å, 1.403 Å,1.398 Å, 1.395 Å, and 1.396 Å respectively. The C–C–C bond angle in benzene, C6–C1–C2 in toluene, N–C–C in aniline, and N–C1–C6 in o-toluidine were found to be, 119°54′,119.40°, 120.00° and 118.9° respectively. These calculated bond length and bond angle of aniline align with the earlier study by Vaschetto et al.46 where reported C–N bond length and N–C–C bond angle were of 1.392 Å and 120°. Similarly, the geometrical parameters of benzene are in good agreement with earlier study by Koichi Tamagawa et al.47 and E. G. Cox,48 where they reported a C–C bond length of 1.399 Å and C–C–C bond angle of 119°28′. The bond length and bond angle values for toluene are consistent with the study by David R Borst et al.,49 they noted a C1–C2 bond length of 1.397 Å, C2–C3 bond length of 1.394 Å and C6–C1–C2 bond angle of 119.40°. The parameters of o-toluidine are aligned with the study by V. K. Bel'skii et al.50 which reported a C6–C5 bond length of 1.389 Å and a N–C1–C6 bond angle of 120.3°. The bond lengths and bond parameters are presented Table S1.
| System | g-C3N4/benzene | g-C3N4/toluene | g-C3N4/aniline | g-C3N4/o-toluidine |
|---|---|---|---|---|
| Adsorption Energy (eV) | −1.51 | −1.87 | −0.98 | −2.03 |
![]() | ||
| Fig. 3 Optimised structures of biomarkers (a) benzene, (b) toluene (c) aniline and (d) o-toluidine adsorbed on the g-C3N4 surface. | ||
After calculating the adsorption energy, the sensing potential of pristine g-C3N4 was evaluated, by calculating the recovery times of four biomarkers on the g-C3N4 surface using the following equation:46
![]() | (6) |
In that context, research has shown that incorporating metal atoms can significantly enhance the sensing capabilities of materials.47,48 Therefore, to improve the sensing ability of g-C3N4, it was combined with CoN4, and a detailed investigation of the adsorption behavior and sensor activity of the g-C3N4/CoN4 heterojunction was conducted.
![]() | (7) |
![]() | ||
| Fig. 5 Optimised structures of biomarkers (a) benzene, (b) toluene (c) aniline and (d) o-toluidine adsorbed on the g-C3N4/CoN4 heterojunction. | ||
| System | g-C3N4/CoN4-benzene | g-C3N4/CoN4-toluene | g-C3N4/CoN4-aniline | g-C3N4/CoN4-o-toluidine |
|---|---|---|---|---|
| Adsorption Energy (eV) | −0.67 | −0.84 | −0.97 | −1.08 |
The adsorption energies tabulated in Table 3 clearly reveals that benzene showed weak adsorption while o-toluidine adsorbed strongly on the g-C3N4/CoN4 surface. Consequently, the adsorption energy of the gas molecules followed an order as benzene < toluene < aniline < o-toluidine. This can be attributed by the electron density of the gas molecules: benzene, being the least electron-rich, has a lower tendency to donate electrons to the g-C3N4/CoN4 heterojunction, resulting in a lower adsorption energy. In contrast, o-toluidine is having the highest electron-density due to the presence of two electron-donating groups (CH3 and NH2), which enhanced its electron-donating capability and lead to a higher adsorption energy towards heterojunction surface. Toluene and aniline are positioned in between the two terminals as their electron density are higher compared to benzene but lowered compared to o-toluidine. These calculated adsorption energies vis-à-vis the direction and magnitude of charge transfer has been discussed in the next section.
The prime criteria of a gas sensor to achieve optimal sensing performance is that the interactions between the adsorbent and the gas molecules must be sufficiently strong to generate measurable signals for detection. However, the gas molecules should also be able to desorb from the sensor without altering its properties, allowing for quick recovery. It is important to highlight that the adsorption energy of gas molecules is relatively high, ensuring stability against thermal fluctuations at room temperature (kBT = 0.025 eV).49
The calculated adsorption energy for benzene is −0.67 eV, which lies within the optimal range of −0.60 to −1.0 eV for reversible gas capture. Although this value is less negative than the literature value reported by Yaseen et al.52 (−0.93 eV) for benzene adsorbed on a Pt-cluster modified g-C3N4 nanosheet, the observed trend remains consistent, indicating moderate interaction strength suitable for sensor applications. For toluene, our computed adsorption energy is −0.84 eV, falling within the optimal window. However, Aasi, A. et al.53 reported a significantly stronger adsorption energy of −1.3 eV for toluene on a Pd-decorated carbon nanotube (CNT) surface. In the case of aniline, our result of −0.97 eV compares reasonably with those reported by Panigrahi, P. et al.,54 who studied aniline adsorption on various Ti3C2 MXene-based surfaces: Ti3C2F2 (−0.663 eV), Ti3C2(OH)2 (−1.052 eV) and Ti3C2O2 (−1.031 eV).
For o-toluidine, the calculated adsorption energy of −1.08 eV lies just outside the ideal window, indicating relatively strong adsorption. Panigrahi, P. et al.54 report a range of values on the same Ti3C2-based surfaces: Ti3C2F2 (−0.691 eV), Ti3C2(OH)2 (−0.942 eV) and Ti3C2O2 (−1.158 eV) Overall, the adsorption energies of benzene, toluene, aniline and o-toluidine biomarkers on the g-C3N4/CoN4 heterojunction demonstrate strong agreement with literature values, confirming their relevance for reversible gas capture applications.
| (Δρ = ρgC3N4/CoN4_gas − ρgC3N4/CoN4 − ρgas) | (8) |
Fig. 6 represents 3D charge density difference plots (Δρ) along the z-axis. The iso-surface value for all targeted gas molecules was set to 0.0002e Å−3 in the 3D plots to maintain the consistency which ensures the graphs are on the same scale. This allows us to easily observe the regions of charge accumulation and depletion, and provide valuable insights into the charge transfer process. Generally, a higher or lower iso-surface value indicates areas with greater or lower electron density, respectively. The figure illustrates distinct electron-rich (yellow) and electron-deficient (cyan) regions. Notably, in all cases, the gas molecules exhibit a predominance of electron-deficient areas, while the heterojunctions show a dominance of electron-rich areas. This suggests a potential electron transfer mechanism from the gas molecules to the heterojunction. The electron density of the gas molecules is directly proportional to the charge transfer, which is clearly visible in the charge density difference plot. In all cases, both electron-rich and electron-deficient regions are present in both the gas molecules and the heterojunctions. Fig. 6 consequently, indicates that the high electron density of o-toluidine leads to a significant charge transfer within the system. To quantify the extent of electron transfer, we performed Bader charge analysis. The calculated charge transfers for benzene, toluene, aniline, and o-toluidine were found to be 0.0260|e|, 0.0237|e|, 0.0238|e|, and 0.0610|e| respectively. Notably, a clear direct relationship exists between the amount of charge transfer and the electron density of the gas molecules. Benzene, being the highest electron deficient, exhibits the lowest charge transfer compared to the other molecules. This reduced electron donation propensity is attributed to the lower electron density of benzene, which hinders electron transfer to the heterojunction. Due to the presence of two electron donating groups o-toluidine shows an exceptionally high amount of charge transfer. The highest electron transfer of o-Toluidine may be due to the higher adsorption energy of o-Toluidine on the heterojunction.
![]() | ||
| Fig. 6 Charge density difference plots of biomarkers (a) methanol, (b) ethanol (c) acetone and (d) aniline adsorbed on the g-C3N4/CoN4 heterojunction. | ||
Fig. 7 presents the band structure of g-C3N4/CoN4 heterojunction and the same with adsorbed gas molecules. As already reported g-C3N4/CoN4 is half metallic in nature27,28 where spin up channel (purple in Fig. S2 in SI file) behaves as semiconductor and spin down channel acting as a metal. The g-C3N4/CoN4 heterojunction exhibits a direct bandgap of approximately 1.81 eV, from the Γ point of conduction band minimum (CBM) to the Γ point valence band maximum (VBM) (see Fig. 7), which aligns with previously reported values.30 This bandgap energy of g-C3N4/CoN4 heterojunction falls within the visible light spectrum, indicating that visible light exposure could enhance the VOC sensing efficiency, similar to organic molecules and ZnO gas sensors functionalized with organic compounds.56,57
![]() | ||
| Fig. 7 Band structure (spin up), DOS (spin up) and PDOS (spin up) of biomarkers (a) benzene, (b) toluene (c) aniline and (d) o-toluidine adsorbed on the g-C3N4/CoN4 heterojunction. | ||
To further understand the gas adsorption behavior on g-C3N4/CoN4, electronic band structures were obtained for the gas-adsorbed systems, as illustrated in Fig. 7. Band structures of all the gas-adsorbed systems are half metallic in nature. Gas adsorption was found to influence the electronic properties of the g-C3N4/CoN4 heterojunction. The pristine g-C3N4/CoN4 has an energy gap of about 1.81 eV, which changes upon gas adsorption. The band gap values after the adsorption of benzene, toluene, aniline, and o-toluidine were 1.50, 1.12, 0.61 and 1.11 eV, respectively, indicating variations of 0.31, 0.69, 1.20 and 0.70 eV for each gas. This suggests that the adsorption of benzene has minimal impact on the band structure near the Fermi level. However, the adsorption of aniline has the greatest impact on the band structure near the Fermi level. Despite these changes, the direct bandgap nature of g-C3N4/CoN4 remains intact. The change in the band gap due to benzene adsorption is notably lower compared to other gas molecules. This is because benzene has a lower electron density than the other gases, resulting in a reduced tendency to adsorb on the surface of g-C3N4/CoN4 heterojunction. Consequently, benzene's weak adsorption impacts the heterojunction's band gap minimal.
The calculated band gap change of 0.31 eV for benzene indicates a strong interaction between the adsorbate and the material surface, suggesting its suitability for gas sensing applications. This shift is significantly higher than the 0.21 eV reported by Jyothi et al.58 for benzene on 4–8 hBN NT, and the 0.005 eV reported by Phung et al.59 for benzene on graphene, implying enhanced sensitivity in the present system. For toluene, a notable band gap change of 0.69 eV is observed, indicating a strong interaction with the heterostructure. This value substantially exceeds the literature-reported shifts of 0.016 eV and 0.024 eV by Aasi et al.,53 corresponding to toluene adsorption on Pt-SWCNT and Pd-SWCNT, respectively, thereby demonstrating superior sensing potential. In the case of aniline, the observed band gap modulation of 1.2 eV reflects an exceptionally strong electronic interaction, which could result in significant changes in electrical properties even at low analyte concentrations. This is considerably larger than the 0.11 eV reported by Zhang et al.60 for aniline on Pd–ZnO, highlighting improved sensing characteristics. For o-toluidine, the computed band gap change of 0.7 eV further supports the material's enhanced sensing ability. This is significantly higher than the 0.185 eV reported by Wan et al.61 for o-toluidine adsorption on Ir-doped CNTs, reinforcing the improved response in the current study. Due to the highest observed band gap change, the g-C3N4/CON4 heterostructure exhibits superior sensitivity towards aniline, making it a highly promising candidate for selective aniline gas sensing compared to other analyte molecules. Overall, the larger band gap shifts observed in this work compared to literature values underscore the stronger adsorbate-material interactions and suggest that the studied heterostructure is a promising platform for high-performance gas sensor applications.
To gain a clear understanding of the electronic properties of the systems under investigation, the total density of states (TDOS) and partial density of states (PDOS) of the systems were calculated and presented in Fig. 7. The band gap reduction of the heterojunction in the presence of gas molecules is clearly visible in the TDOS plots. By analyzing the PDOS of the g-C3N4/CoN4 heterojunction, it can be concluded that the valence band maximum (VBM) of the heterojunction is primarily composed of C 2p and N 2p orbitals, while the conduction band minimum (CBM) is dominated by Co 3d and N 2p orbitals.28,29 In the cases of g-C3N4/CoN4-benzene, g-C3N4/CoN4-toluene, and g-C3N4/CoN4-o-toluidine, the valence band maximum (VBM) and conduction band minimum (CBM) remain consistent with those of the g-C3N4/CoN4 heterojunction. However, for g-C3N4/CoN4-aniline, while the VBM aligns with that of the g-C3N4/CoN4 heterojunction, the CBM is primarily composed of N 2p and C 2p orbitals from the aniline molecule. Due to the presence of aniline orbitals interposed between those of the heterojunction, the band gap of g-C3N4/CoN4-aniline is significantly reduced compared to the other systems. When gas molecules adsorb onto the g-C3N4/CoN4 heterojunction, their orbitals hybridize with those of the heterojunction, facilitating strong interactions. For example, when benzene is adsorbed, the C 2p orbitals of benzene overlap with the C 2p orbitals of the heterojunction at the valence band maximum (VBM), while the H 1s orbitals of benzene interact with the Co 3d orbitals at the conduction band minimum (CBM). Similarly, in the case of toluene, both the C 2p and H 1s orbitals of toluene hybridize with the C 2p orbitals of the heterojunction at the VBM, and the H 1s orbitals of toluene overlap with the Co 3d orbitals at the CBM. Additionally, when o-toluidine adsorbs onto the heterojunction, the C 2p orbitals of o-toluidine hybridize with those of the heterojunction at the VBM, while the N 2p orbitals of o-toluidine interact with the C 2p orbitals of the heterojunction at the CBM. There is significant overlap between the PDOS peaks of aniline (especially C-2p and N-2p of aniline) and the g-C3N4/CON4 substrate (C-2p, N-2p, Co-3d), indicating strong electronic coupling and orbital hybridization. This pronounced interaction suggests that the g-C3N4/CON4 heterostructure is particularly well-suited for selective aniline detection, outperforming its sensing performance for other gas molecules. These orbital interactions significantly enhance the adsorption properties and electronic characteristics of the g-C3N4/CoN4 heterojunction, making it a promising material for applications in gas sensing and catalysis.
| σ ∼ exp[−Eg/2kBT] | (9) |
| Biomarkers | Recovery time (s) at 298K | Conductivity |
|---|---|---|
| Benzene | 0.216 | 2.08 × 10−13 |
| Toluene | 162.71 | 3.40 × 10−10 |
| Aniline | 3.18 × 103 | 6.94 × 10−6 |
| o- oluidine | 1.86 × 106 | 4.13 × 10−10 |
The recovery time for each species at room temperature (T = 298 K), has been presented in Table 4. The foremost criterion of reversible gas capture is that – optimal adsorption energies should be typically fall within the range of −0.60 to −1.0 eV. A higher adsorption energy (Eads) makes gas desorption more challenging, though an increase in temperature would greatly speed up the process. The recovery time, ranging from milliseconds to a few seconds, indicates the reusability of the gas sensor. However, if the recovery time is too short, it may imply insufficient adsorption capability, which hinders effective gas detection. The adsorption energies of benzene, toluene, aniline, and o-toluidine on the heterojunction range from −0.60 to −1.0 eV. The recovery times for benzene, toluene, aniline and o-toluidine were calculated as 0.216 s, 162.71 s, 3.18 × 103 s, and 1.86 × 106 s, respectively. Therefore, the heterojunction undoubtedly functions as an efficient reusable sensor for the detection of benzene, toluene, aniline and o-toluidine. The recovery time of the g-C3N4/CoN4 heterojunction is significantly shortened when benzene is adsorbed onto it. This faster recovery may be attributed to benzene's lower ring electron density, which weakens its interaction with the heterojunction, thereby reducing charge transfer and facilitating a quicker desorption process. Consequently, the limited interaction results in a lower impact on conductivity, allowing the system to return to its baseline state more efficiently.
The computed recovery time of 0.216 s for benzene adsorption on the g-C3N4/CON4 heterostructure is remarkably shorter than the 5.32 × 103 s reported by Yaseen et al.52 for benzene on Pt-g-C3N4, showcasing a significant advancement in gas sensing performance with rapid sensor reset capabilities. For toluene, the calculated recovery time of 162.71 s is substantially lower than the 5.85 × 106 s reported by Nagarajan et al.63 for toluene detection using ring-silicon-doped twisted bilayer arsenene nanosheets (ASNS), revealing a drastic enhancement in sensing efficiency. The improved desorption behavior underlines the heterostructure's potential for high-throughput gas sensing applications. Rahman et al.64 reported that the recovery time of aniline on AINNT (aluminium nitride nanotube) is in the order of 1035, while that on AIPNT (aluminium phosphide nanotube) is in the order of 1023. In contrast, our calculated recovery time for aniline on the g-C3N4/CoN4 system is on the order of 103, which is significantly lower than the values reported by Rahman et al.64 This clearly indicates that our material can act as an efficient sensor for aniline. Overall, the considerable reduction in recovery times compared to previously reported materials confirms that the g-C3N4/CON4 heterojunction offers exceptional performance, making it a promising candidate for sensitive, fast, and reusable gas sensors suited for real-world applications.
| ∅ = Evac − EF | (10) |
| Gas molecule | Work function(Φ) | Change in work function (ΔΦ) |
|---|---|---|
| g-C3N4/CoN4 | 4.56 | |
| Benzene | 4.24 | −0.32 |
| Toluene | 4.59 | +0.03 |
| Aniline | 4.34 | −0.22 |
| o-Toluidine | 4.62 | +0.06 |
The key take-home message of this work is that rational surface engineering of g-C3N4 with transition-metal sites such as CoN4 can transform an otherwise moderate adsorbent (such as g-C3N4) into a highly promising material (by forming g-C3N4/CoN4 heterojunction) platform for breath-based biomarker sensing. These insights not only highlight aniline as a reliable target VOC for theoretical screening but also provide predictive guidelines for experimental validation and device development. Future efforts should focus on integrating g-C3N4/CoN4 composites into real sensor architectures and benchmarking their performance under realistic conditions, thereby advancing non-invasive diagnostic tools for lung cancer.
Supplementary information (SI): optimised structures of biomarkers, bond parameters of gas molecules and the band structure of g-C3N4/CoN4 heterojunction. See DOI: https://doi.org/10.1039/d5ra04202j.
| This journal is © The Royal Society of Chemistry 2026 |