Introduction

Recent nanotechnological progress in structural/functional materials has stimulated tremendous research interest in the development of various carbon allotropes, including graphene quantum dots and nanodiamonds1, 1D carbon nanotubes and nanohorns2, and 2D monolayer/multilayer graphene and amorphous/graphitic/diamond-like carbon networks3, due to their intrinsic physicochemical properties, extraordinary mechanical strength and unique physiological and pharmacological effects that are highly desirable for diverse applications in catalysis, energy-related systems, biosensing and biomedical engineering4,5,6. More importantly, these low-dimensional nanocarbon materials can be self-assembled or coassembled into various 3D macroscopic architectures7,8,9, which opens new avenues for their promising application as high-performance electrode materials in next-generation flexible/stretchable batteries, implantable and wearable (micro)electronic devices and artificially intelligent sensors10,11,12,13,14,15. Nevertheless, low-dimensional nanocarbon materials are easily restacked with each other or aggregated during the assembly process, which seriously decreases their effective active surface area and structural stability16. As a result, strategies for arranging nanocarbon materials to form higher-order architectures by template methods are quite desirable because they are highly controllable and can effectively avoid the restacking and aggregation of carbon building blocks17. For the synthesis of nanocarbon materials with higher-order architectures by well-developed template methods, several carbon precursors, such as glucose18, polydopamine19, and other heteroatom polymers20, have been utilized. These precursors can not only be easily coated on various template surfaces but also result in high carbonization yields. However, it is still a challenge to use these precursors for the synthesis of carbon-based nanomaterials with desirable features, including controllable nano/mesostructures, superb chemical/electronic properties, multifunctionality, and so on.

In this work, we develop a facile, controllable, ecofriendly and sustainable strategy for synthesizing a novel high-order 3D nanotube arrays (NTAs) arranged from a mesoporous 2D multiheteroatom codoped carbon network (CNW) by the direct carbonization of a new class of ionic liquids (ILs). In recent studies, ILs that generally consist of adjustable organic cations and anions have emerged as promising green precursors for synthesizing heteroatom-doped carbon materials. ILs have several important merits, including their charge nature induced negligible vapor pressure during the high-temperature heating process, “universal” surface activity for coating almost all surfaces to form carbon nanomaterials with different morphologies21,22, and tunable chemical structures through incorporating multiple heteroatom-doped carbon species with conjugated N, S and B atoms by smartly selecting the anions and cations of ILs23. Herein, N, B, and P codoped CNW (NBP-CNW)-NTAs were derived from task-specific ILs, i.e., 1-vinyl-3-ethyl imidazole tetrafluoroborate ([VEIM]BF4) and 1-octyl-3-methyl imidazole hexafluorophosphate ([OMIM]PF6), using a 3D high-order ZnO-nanorod arrays (NRAs) grown on activated carbon fiber (CFs) as the sacrificial template. We found that the [VEIM]BF4 monomer containing a hydrophilic anionic group and a cross-linkable cationic group wrapped the ZnO-NRAs substrate and self-polymerized, which further carbonized into a N and B codoped carbon layer under the high-temperature heating process. During this process, noncarbonizable [OMIM]PF6 molecules underwent thermal decomposition, which simultaneously functioned as the pore-forming agent as well as N and P sources to produce many mesopores and introduce an abundance of heteroatoms in the carbon layer. After removing the ZnO-NRAs template, high-order 3D NBP-CNW-NTAs wrapped on CFs were obtained. By using this method, different carbon nanomaterials with 3D high-order architectures, desirable nano/mesostructures, tunable porosity, and changeable doped heteroatoms can be achieved by adjusting the sacrificial template structure and the molecular organization of the anions and cations of the ILs.

The practical application of the resultant NBP-CNW-NTAs-modified CF (NBP-CNW-NTAs/CF) microelectrode was explored in the electrochemical sensing of the biomarker H2O2 secreted from different cancer cells and tissues. H2O2 is a major reactive oxygen species in unicellular and multicellular organisms24, and its level in various human samples is of great significance for cancer diagnosis and assessment25. Our results demonstrated that the NBP-CNW-NTAs/CFs microelectrode benefitted from the hierarchically porous architecture achieved by the formation of macropores in the 3D high-order NTAs within the numerous mesopores in 2D CNWs and therefore exhibited a large electrochemically active surface area (ECSA), abundant surface active sites, effective charge transport pathways, and a high structural stability, which dramatically enhanced its electrocatalytic reactivity and durability to H2O2. Furthermore, homogeneous heteroatom (i.e., N, B and P) doping was accomplished fairly easily and consequently changed the charge density and electron cloud arrangement of carbon atoms26, thus enhancing the electronic conductivity and wettability of carbon species.

Benefiting from its unique structural merits and high reactivity, the hierarchically structured NBP-CNW-NTAs/CF microelectrode exhibited good electrochemical sensing performance toward H2O2, which included a low detection limit of 500 nM (a signal-to-noise ratio of S/N = 3), a wide linear dynamic range up to 15.92 mM, a high sensitivity of 61.8 μA cm−2 mM−1, high anti-interference ability, good mechanical and long-term stability, and excellent biocompatibility, which enabled it to be embedded in a microfluidic chip for the real-time tracking of H2O2 secreted from different live cancer cell lines (i.e., breast cancer cells, hepatoma cells and cervical cancer cells) with or without radiotherapy treatment, which provides a new strategy for distinguishing the types of cancer cells and evaluating radiotherapeutic efficacy toward different cells. Furthermore, the proposed nanostructured microelectrode was also integrated into an implantable probe for the in situ minimally invasive detection of surgically resected human breast specimens to distinguish tumor tissues from normal tissues. Accordingly, we fabricated novel electrochemical microbiosensors based on the NBP-CNW-NTAs/CF microelectrode for the sensitive and real detection of cancer cells and tissues, which will be of vital significance for cancer diagnosis and management in clinical practice.

Material and methods

Preparation of hierarchical structured microelectrode

The preparation process of the nanostructured microelectrode is shown in Fig. 1A. The carbon fibers (CFs) were activated by being immersed in H2O2 (30%) at 60 °C for 24 h, washed with deionized water three times and dried at 60 °C. ZnO-NRAs were grown on the CFs by an electrodeposition process according to our previous work18, as described in the Supporting Information. For the preparation of the NBP-CNW-NTAs/CF, two types of ILs, i.e., [VEIM]BF4 and [OMIM]PF6 (volume ratio 4:1), were mixed and stirred to generate a homogeneous liquid that was then coated on the surface of the ZnO-NRAs. Then, the ILs coated ZnO-NRAs were heated at 750 °C in a quartz tube under an Ar atmosphere at a heating rate of 2 °C min−1 for 3 h to transform the IL layer into a multiheteroatom codoped porous carbon layer. To remove the ZnO-NRAs template, the product was immersed in 0.1 M HCl solution for 6 h. After being washed with deionized water and dried at 80 °C, NBP-CNW-NTAs/CF were obtained. Furthermore, the [VEIM]BF4 monomer was heated from room temperature to 300 °C at a rate of 2 °C min−1 and then cooled naturally in the furnace tube under an Ar atmosphere to synthesize P[VEIM]BF4 by a thermal-initiation free-radical polymerization method.

Fig. 1: The synthesis process and morphological feature of NBP-CNW-NTAs/CF and its precursors.
figure 1

A Schematic illustration of the fabrication procedure of the hierarchical structured hybrid microelectrode: (a) activated CF, (b) ZnO-NRAs/CF, (c) ZnO-NRAs@[VEIM]BF4-[OMIM]PF6/CF, (d) ZnO-NRAs@P[VEIM]BF4-[OMIM]PF6/CF, (e) ZnO-NRAs@NBP-CNW/CF, and (f) NBP-CNW-NTAs/CF. Step i: Activating CF by immersion in H2O2; Step ii: Growth of ZnO-NRAs on CF via electrodeposition; Step iii: Dip-coating IL mixture of [VEIM]BF4-[OMIM]PF6 on ZnO-NRAs; Step iv: Thermal-initiation free-radical polymerization of [VEIM]BF4 monomer to form P[VEIM]BF4 layer on ZnO-NRAs by heating from room temperature to 300 °C; Step v- Carbonization of P[VEIM]BF4-[OMIM]PF6 layer into NBP-CNW by heating to 750 °C; Step vi: Removing ZnO-NRAs template to form NBP-CNW-NTAs. SEM images of (B) activated CF; inset is the digital photograph of CF. SEM images of (CE) ZnO-NRAs/CF and (FI) NBP-CNW-NTAs/CF at different magnifications. J Dark-field and (KM) bright-field TEM images of NBP-CNW at different magnifications. N Scanning elemental mapping of NBP-CNW.

Fabrication of an electrochemical microfluidic chip and implantable chip

A microfluidic chip was elaborately designed using AutoCAD 2008 software (Autodesk, U.S.A.) and fabricated by Mesobiosystem Co., Ltd. (Wuhan, China); the details are described in the Supporting Information. The NBP-CNW-NTAs/CF microelectrode, Pt wire (50 µm) and Ag/AgCl electrode (obtained by depositing a AgCl layer on Ag wire, 50 µm) were placed in the detection chamber and functioned as the working electrode (WE), counter electrode (CE) and reference electrode (RE), respectively. For electrochemical testing, 10 µL of human cell sample was pumped into the chip through the inlet channel and gathered in the detection chamber. For the construction of an implantable probe, a NBP-CNW-NTAs/CF microelectrode, Pt wire and Ag/AgCl electrode were integrated into a homemade probe, which was carefully inserted into human tissues for minimally invasive detection. The three-electrode system was connected to a portable bipotentiostat for electrochemical testing.

Cell culture and tissues

Hepatoma cells (HepG2), cervical cancer cells (HeLa) and breast cancer cells (MCF-7) were obtained from Union Hospital, Tongji Medical College, Huazhong University of Science & Technology (Wuhan, China). All cells were cultured in Dulbecco’s modified Eagle’s medium (DMEM) with 10% fetal bovine serum (FBS) and 1% penicillin‒streptomycin in a humidified cell incubator at 37 °C containing 5% CO2. After growing to ~90% confluence, the cells were washed and collected by centrifugation for testing. The number of live cells was determined by the cell counter method. The cytotoxicity of the NBP-CNW-NTAs/CF microelectrode was evaluated by a standard cell counting Kit-8 (CCK-8) assay. Surgically resected clinical specimens of human primary breast tumors (tumor tissue I and II) were also received from Union Hospital. A control sample was obtained from the enclosed adipose tissue of the cancer tissue. All the specimens were washed with PBS solution several times and soaked in PBS solution at 37 °C for electrochemical testing.

Results and discussion

Morphological and compositional characterization

The morphologies of different samples were first investigated with scanning electron microscopy (SEM) images. As shown in Fig. 1B, the flexible CF exhibited a typical diameter of approximately 10 μm and a relatively rough surface after being activated. The large number of functional groups on the surface of the activated CF acted as active sites for the nucleation and growth of the ZnO-NRAs. Figure 1CE show that close-packed ZnO nanorods, which are hexagonal prisms with smooth crystal surfaces, were entirely wrapped on the CFs by electrodeposition. NBP-CNW-NTAs were obtained by coating the ZnO-NRAs with an IL mixture of [VEIM]BF4 and [OMIM]PF6 and then heating at a low rate. During this process, a thermal-initiated free-radical polymerization of [VEIM]BF4 first occurred at a relatively low temperature (i.e., 300 °C), where the carbon atoms in the vinyl groups became sp3 hybridized during thermal polymerization under carbonization conditions27. The number average molecular weights (Mn) and polydispersity index (PDI) of the product evaluated by gel permeation chromatography (GPC) were 4.74 kDa and 1.012, respectively (Fig. S1), which authenticates the successful polymerization of [VEIM]BF4 into P[VEIM]BF4 at 300 °C. The as-obtained P[VEIM]BF4 adhered onto the ZnO nanorods to form a compact layer. With the elevation of the heating temperature, P[VEIM]BF4 began to transform into N and B codoped carbon with a minimal loss of reactant during carbonization28. Moreover, [OMIM]PF6 monomers underwent thermal decomposition, and N and P atoms from [OMIM]PF6 were doped into carbon to form N, B and P codoped carbon species. After removing the ZnO-NRAs template, 3D high-order NBP-CNW-NTAs that inherited the structure of the ZnO-NRAs were formed on the CFs (Fig. 1FH). The high-magnification SEM image reveals that the as-obtained NBP-CNW-NTAs exhibited a typical loofah-like morphology and were rich in interconnected pores (Fig. 1I) because [OMIM]PF6 functioned as a pore-forming agent during its thermal decomposition in the carbonization process and resulted in the formation of a large number of pores in the carbon layer22. Figure 1JL show the transmission electron microscopy (TEM) images of the 2D CNW fragment exfoliated from the CF substrate, indicating a typical cross-linked porous structure. From the high-resolution TEM image, it can be observed that the carbon species exhibited a partially graphitic structure (Fig. 1M). The TEM mapping of the as-obtained CNWs shown in Fig. 1N demonstrated the homogeneous dispersion of C, N, B and P, confirming the successful synthesis of multiple heteroatom-doped CNW materials.

To reveal the formation mechanism of the proposed NBP-CNW-NTAs, the effects of the IL precursors on the morphology and structure of the NBP-CNW-NTAs were investigated by SEM characterization. The results show that the use of pure [VEIM]BF4 led to the formation of intact B and N codoped carbon NTAs (BN-CNTAs) without any porous structure in the carbon layer (Fig. S2A) due to the lack of the pore-forming agent [OMIM]PF6. With the addition of [OMIM]PF6 into [VEIM]BF4 to form a mixed IL precursor, the porous structure in the carbon layer appeared after carbonization. When the volume ratio of [OMIM]PF6 and [VEIM]BF4 was 1:4, a well-defined loofah-like mesoporous morphology of 2D CNWs with an integrated NTAs assembled structure was obtained (Fig. S2B). However, with the increase in the volume ratio of [OMIM]PF6 and [VEIM]BF4 to 1:1, the 3D NTAs structure tended to collapse and form compact BNP-CNWs wrapped on CFs (Fig. S2C). Moreover, when ZnO-NRAs/CFs was coated with pure [OMIM]PF6, only bare CFs with few and scattered carbon species on its surface was observed under the same procedure (Fig. S2D). This is because even though ILs (e.g., [OMIM]PF6) without cross-linking groups can also produce carbonaceous material under high temperature29, they cannot form a compact layer to coat the ZnO-NRAs template and maintain its structure when removing the template. Consequently, both cross-linkable [VEIM]BF4 and pore-forming [OMIM]PF6 play important roles in the formation of the 3D NBP-CNW-NTAs structure.

X-ray diffraction (XRD) patterns were used to investigate the crystallinity of NBP-CNW-NTAs (Fig. 2A). There were two major diffraction peaks located at 25.2° and 43.5°, which were assigned to the (002) and (101) diffraction planes of graphite carbon30. The Raman spectra of different samples are shown in Fig. 2B, which reveals two strong peaks assigned to the typical disorder band (D-band) and graphitization carbon (G-band) at approximately 1330 and 1600 cm−1, respectively. The intensity ratio of the D-band and G-band (ID/IG) represents the structural defects in carbon materials. The ID/IG values for NBP-CNW-NTAs, NBP-CNWs and NB-CNTAs were 0.95, 0.93 and 0.91, respectively. Furthermore, the ID/IG value of NBP-CNW-NTAs was gradually enhanced from 0.87 to 0.98 as the carbonization temperature increased from 600 °C to 800 °C (Fig. S3), representing a higher degree of crystallinity of graphitic carbon formed at a higher carbonization temperature31.

Fig. 2: The structure and composition characterization of NBP-CNW-NTAs.
figure 2

A XRD of NBP-CNW-NTAs. B Raman spectra of NBP-CNW-NTAs, NBP-CNWs and NBP-CNTAs. High-resolution XPS spectra of (C) C 1 s, (D) N 1 s, (E) P 2p and (F) B 1 s of NBP-CNW-NTAs.

The composition of NBP-CNW-NTAs was evaluated by X-ray photoelectron spectroscopy (XPS). The XPS survey spectrum displays five main peaks assigned to O 1 s, N 1 s, C 1 s, B 1 s and P 2p (Fig. S4), confirming the successful doping of N, B and P atoms into the carbon material. The atom contents of N, B and P were calculated to be 6.8%, 0.5% and 0.13%, respectively. High-resolution XPS spectra have further offered information about the bonding types of the C, N, B and P atoms. As shown in Fig. 2C, the core-level C 1 s spectrum can be divided into four peaks located at 285.0, 286.7, 288.5, and 290.5 eV, which were attributed to C-B/C-P/C-C/C=C, C-N/C-O, C=O, and O-C-O, respectively32. The N 1 s spectrum revealed that the doped N atoms existed in the form of pyridinic N (398.6 eV), pyrrolic N (399.1 eV), graphitic N (400.8 eV) and N-oxides (402.1 eV)33, as displayed in Fig. 2D. Owing to the differences in electronic configuration and electronegativity, the N atoms doped into CNWs substantially changed the electronic properties of nearby C atoms and enabled them to be active sites34,35. The spectrum of P showed doublet peaks located at binding energies of 133.2 eV and 134.2 eV (Fig. 2E), which were attributed to P-O and P-C bonds, respectively36. Compared with N atoms, P atoms with larger atomic radii are equipped with a greater electron-donating ability. Thus, P-doped carbon materials usually show better electron delocalization and a higher density of defect sites37. Furthermore, there were three peaks at 190.3, 191.4, and 192.5 eV in the B 1 s spectrum, corresponding to the B-C, B-N and B-O bonds, respectively (Fig. 2F)38. The introduction of B atoms into the carbon bulk provides electron-donating sites for charge transfer with C atoms as well39. In summary, the codoping of heteroatoms into carbon material generated synergistic effects associated with the electronic interactions between different heteroatoms and surrounding C atoms, which dramatically improved the electrocatalytic activity of the as-obtained NBP-CNW-NTAs40.

Electrochemical sensing performances

Cyclic voltammetric (CV) measurements were performed to evaluate the electrocatalytic activity of the nanohybrid microelectrodes toward the H2O2 redox reaction by a standard three-electrode system with as-prepared flexible microelectrodes as WE, commercial Pt wire as CE and Ag/AgCl as RE. Figure 3A shows the CV curves of the NBP-CNW-NTAs/CF microelectrode with NBP-CNW/CF and NB-CNTAs/CF as the control in 0.1 M phosphate buffer solution (PBS) containing 8 mM H2O2. The CV curve of the NBP-CNW-NTAs/CF microelectrode exhibited a distinct peak at −0.25 V corresponding to the electrochemical reduction of H2O2, and the peak current density was much higher than that of NBP-CNW/CF and NB-CNTAs/CF. This demonstrated that NBP-CNW-NTAs on CF possessed enhanced electrocatalytic activity toward H2O2, which was due to their unique structure and the synergistic contributions of different elements. The unique hierarchical nanostructure of NBP-CNW-NTAs increased the surface area of the microelectrode and provided more active sites and meso-/nanopores, which favored the rapid absorption of H2O2 molecules and mass/charge transfer and promoted the electrocatalytic reaction rate. Moreover, the codoping of N, B and P heteroatoms into the carbon nanomaterial changed its charge density and electronic structure, further enhancing its electrochemical activity. Furthermore, the CV responses of the NBP-CNW-NTAs/CF microelectrode synthesized by carbonization at different temperatures in 0.1 M PBS containing 8 mM H2O2 were compared. The results showed that the H2O2 reduction peak current density gradually increased when the carbonizing temperature increased from 600 °C to 750 °C, which was attributed to the higher degree of crystallinity of graphitic carbon formed at a higher carbonizing temperature. However, when the carbonizing temperature reached 800 °C, the microstructure of NBP-CNW-NTAs on CF began to be destroyed, leading to a decreased peak current response (Fig. S5). Therefore, the optimal carbonizing temperature for the synthesis of NBP-CNW-NTAs/CF with a superior performance is 750 °C.

Fig. 3: The electrochemical sensing performances of NBP-CNW-NTAs/CF microelectrode toward H2O2.
figure 3

A CV curves of NBP-CNW-NTAs/CF, NBP-CNW/CF and NBP-CNTAs/CF microelectrodes in 0.1 M PBS solution containing 8 mM H2O2. Scan rate: 50 mV s−1. B CV curves of the NBP-CNW-NTAs/CF microelectrode in 0.1 M PBS solution (pH 7.4) containing 0, 1, 2, 5, 8, and 10 mM H2O2. C Amperometric j-t responses of the NBP-CNW-NTAs/CF microelectrode to the addition of different H2O2 concentrations into 0.1 M PBS (pH 7.4) under stirring. Inset of (C) is the amperometric response of the NBP-CNW-NTAs/CF microelectrode to a low concentration of H2O2. Applied potential: −0.25 V. D Calibration curves of the linear relationship between the corresponding current densities and H2O2 concentrations. E Amperometric response of the NBP-CNW-NTAs/CF microelectrode to the successive addition of 0.5 mM H2O2 and 5.0 mM GLU, UA, AA and DA in 0.1 M PBS at −0.25 V. F Relative response of the NBP-CNW-NTAs/CF microelectrode to 0.5 mM H2O2 for 30 days. The inset is the relative response of seven different electrodes to 0.5 mM H2O2.

Figure 3B shows the CV curves of the NBP-CNW-NTAs/CF microelectrode in 0.1 M PBS containing different concentrations of H2O2, which exhibited substantially enhanced reduction peak current densities as the H2O2 concentrations increase from 0 mM to 10 mM, indicating that the NBP-CNW-NTAs/CF microelectrode possessed effective electrocatalytic activity for the H2O2 reduction reaction. At the optimum applied potential of −0.25 V, well-defined steady-state amperometric current responses were obtained within 4 s upon aliquot additions of H2O2, and the current densities increased stepwise with the successive increase in the H2O2 concentration (Fig. 3C), with a linear dynamic range from 1 μM to 15.92 mM, a high sensitivity of 61.8 μA cm−2 mM−1, and a low detection limit of 500 nM (a signal-to-noise ratio S/N = 3) (Fig. 3D). To investigate the anti-interference ability of the NBP-CNW-NTAs/CF microelectrode, several typical electroactive species, such as dopamine (DA), ascorbic acid (AA), uric acid (UA) and glucose (GLU), were injected into PBS at a concentration of 5.0 mM after adding 0.5 mM H2O2 three times (Fig. 3E), and there were no obvious changes in the amperometric current response of H2O2 in the presence of foreign interference, indicating the good anti-interference ability of the NBP-CNW-NTAs/CF microelectrode.

The long-term operation stability of the NBP-CNW-NTAs/CF microelectrode was assessed by repeatedly measuring the amperometric current responses of one electrode to 0.5 mM H2O2 after storage for 30 days, which revealed that the current density retained over 90% of its initial value for testing. Then, seven different NBP-CNW-NTAs/CF microelectrodes prepared by the same procedure were used to detect 0.5 mM H2O2, and the relative standard deviation (RSD) of the amperometric current response was calculated to be 3.9% (Fig. 3F), indicating the good reproducibility of the NBP-CNW-NTAs/CF microelectrode for practical application. Furthermore, the mechanical stability of the NBP-CNW-NTAs/CF microelectrode was also investigated with amperometric measurements. The results showed that the amperometric current responses of the microelectrode toward 0.5 mM H2O2 were 96.8%, 96.4%, 97.0% and 96.0% of the original value after the microelectrode was bent to 45°, 90°, 135° and 180°, respectively. In addition, the current signal only decreased ~6% when the electrode was bent to 180° by 250 times. The change in the value of the current response was 6.8%, even when the microelectrode was bent to 180° for 7 days (Fig. S6). These results demonstrated that the NBP-CNW-NTAs/CF microelectrode possessed good mechanical stability, and its electrochemical performance was almost unaffected by bending forces. The excellent mechanical properties of freestanding fiber-based microelectrodes provide a prerequisite for the development of next-generation flexible microelectrochemical sensors and integrated devices.

Real-time tracking of cancer cells by an electrochemical microfluidic biosensor

Benefiting from its exceptional electrochemical sensing performance as well as the good biocompatibility, the proposed NBP-CNW-NTAs/CF microelectrode was further employed for the ultrasensitive detection of H2O2 in three types of live cancer cells, including hepatoma cells (i.e., HepG2), cervical cancer cells (i.e., HeLa) and breast cancer cells (i.e., MCF-7). Figure 4A shows that the freestanding flexible microelectrode was embedded in a homemade electrochemical microfluidic chip and functioned as the WE, with homemade Pt wire and Ag wire as the CE and RE, respectively. The resultant electrochemical microfluidic sensor was connected with a portable bipotentiostat to record the electrochemical signals. The cell culture solutions containing different live cells were injected into the chip and incubated with NBP-CNW-NTAs/CF to reach a high cell density of 5 × 106 cells mL−1 (Fig. 4B). Quantitative analysis of the standard cell counting Kit-8 (CCK-8) assay results showed that all live HepG2, HeLa and MCF-7 cells maintained more than 90% viability after incubation with NBP-CNW-NTAs/CF for 5 h (Fig. 4C). For comparison, all live cells maintained more than 93% viability after incubation in the chip in the absence of NBP-CNW-NTAs/CF for 5 h (Fig. S7). The dual-fluorescent calcein-AM/PI assay results shown in Fig. 4D and E indicated that the MCF-7 cells incubated with NBP-CNW-NTAs/CF for 5 h were quite healthy, and very few dead cells were observed in the dark-field fluorescent image (Fig. 4F). Owing to the good biocompatibility of carbon-based materials, NBP-CNW-NTAs/CF exhibited a quite low cytotoxicity to live human cells, which enabled it to be used as an implantable electrochemical probe for the in vitro and in vivo sensitive detection of different human real samples.

Fig. 4: Real-time tracking of cancer cells by an electrochemical microfluidic biosensor based on NBP-CNW-NTAs/CF.
figure 4

A Digital photo of the homemade microfluidic electrochemical sensing system. B Superresolution digital microscope images of MCF-7 cells incubated with NBP-CNW-NTAs/CF in the chip. C Quantitative cell viability results of CCK-8 assay for different cancer cells incubated with the NBP-CNW-NTAs/CF microelectrode from 0 h to 5 h. DF Bright-field and dark-field fluorescent images of MCF-7 cells after the calcein-AM/PI assay to stain the viable cells green by calcein-AM and dead cells red by PI. G Amperometric current responses of the electrochemical sensor to the addition of 0.1 mM fMLP into the test solutions with HepG2, HeLa and MCF-7 cells and without cells. H Histograms of the No values for HepG2, HeLa and MCF-7 cells. I Histograms of the No values for MCF-7 cells after 0 h (control), 1, 2, 3, 4 and 5 h of radiotherapy and without any treatment.

For the real-time in situ tracking of H2O2 released by live cancer cells, N-formylmethionyl-leucyl-phenylalanine (fMLP) was used as an artificial stimulator to irritate live cells to exude H2O2. Figure 4G shows that after the addition of 0.1 mM fMLP into each chip containing HepG2, HeLa and MCF-7 cells, the amperometric current density increased by 0.68 µA cm−2, 0.89 µA cm−2 and 1.18 µA cm−2, respectively. Under the same conditions, no obvious change was observed in the blank testing solution without cells, which indicated that the increased amperometric current responses originated from H2O2 released by live cells under stimulation. According to our previous works, the number of released H2O2 molecules per cell can be calculated by the equation No = [(Δj/S) × NA)]/Ncell, where Δj is the increased amperometric current density in Fig. 4H, S is the sensitivity from the calibration curve in Fig. 3D (i.e., 100.3 μA cm−2 mM−1), NA is the Avogadro constant (6.02 × 1023 mole−1), and Ncell is the cell density (5 × 106 cells mL−1). The No values were calculated to be 1.32 × 1012, 1.73 × 1012, and 2.29 × 1012 for the HepG2, HeLa and MCF-7 cells, respectively. Evidently, the level of H2O2 secreted by different live cells varied with the type of cancer cells under the same stimulation. Therefore, our strategy for rapidly and accurately measuring the number of extracellular H2O2 molecules using the NBP-CNW-NTAs/CF microelectrode opens a new avenue for differentiating the types of cancer cells for the early screening and assessment of different cancer diseases.

Furthermore, the proposed electrochemical sensing system was also used to evaluate the radiotherapeutic effect of different live cells, and in this evaluation, HepG2, HeLa and MCF-7 cells in the chip were irradiated using a 16 MV X-ray linear accelerator at a dose rate of 200 cGy/min. As shown in Fig. 4I, after 1, 2, 3, 4 and 5 h of radiotherapy treatment, the relative amperometric current responses of the electrochemical sensor toward MCF-7 cells under stimulation declined from 100% to 75.8%, 70.5%, 66.9%, 63.4% and 60.4%, respectively. This is because exposing cancer cells to an X-ray beam triggers cell death and reduces the number of viable cells, which results in decreased electrochemical responses toward the H2O2 secreted by live cells. However, under the same conditions, the relative responses for HeLa cells declined from 100% to 83.4% and 81.0%. 78.6%, 70.2% and 68.5% at 1, 2, 3, 4 and 5 h after radiotherapy treatment, respectively. The values for HepG2 ranged from 100% to 89.5%, 85.4%, 80.3%, 74.8% and 72.6% under the same conditions. Remarkably, radiotherapy treatment by X-ray has high therapeutic activity against all live cancer cells. MCF-7 cells are more sensitive to radiotherapy treatment than the other two types of cancer cells. This is of vital scientific significance for the rapid and effective evaluation of therapeutic efficiency in the treatment of different cancers.

In situ detection of tumor tissues by an electrochemical implantable probe

With regard to clinical practice, the freestanding flexible nanostructured microelectrode was further integrated into an implantable probe for tumor tissue detection. As shown in Fig. 5A and B, two surgically resected clinical specimens from female patients with primary breast cancer, with weights of 138 mg (denoted as tumor tissue I) and 225 mg (denoted as tumor tissue II), were selected for testing, and the corresponding histological microscopic images with H&E staining showed the live cancer cells. For comparison, adipose tissue that enclosed tumor tissue I was dissected and used as the control (weight: 142 mg, denoted as control), as shown in Fig. 5C. For the in situ detection of H2O2 in real human tissues, the integrated implantable probe was inserted inside different breast samples, with the flexible NBP-CNW-NTAs/CF microelectrode as the WE (Fig. 5D). Upon the addition of 0.1 mM fMLP into the testing solution containing breast tumor tissues, dramatically increased amperometric current densities were obtained. In comparison, there was no change in the amperometric response in the blank solution without tissues. This is consistent with the results of cancer cell testing, demonstrating the electrochemical responses derived from H2O2 released from live cells in tissue. More importantly, it was observed that under the same conditions, the increased amperometric current densities from tumor tissue I, tumor tissue II and the control tissue were 1.41 µA cm−2, 1.86 µA cm−2 and 0.91 µA cm−2, respectively (Fig. 5E). Significantly, the amperometric current density of tumor tissue I was much higher than that of the surrounding adipose tissue (control) because of the rapid propagation of cancer cells, which secrete larger amounts of H2O2 than normal cells (i.e., adipose cells). Furthermore, tumor tissue II with a larger size yielded a higher cell density in the testing solution than tumor tissue I, which delivered a higher amperometric current density from the H2O2 secreted by cancer cells upon stimulation (Fig. 5F). Consequently, the proposed electrochemical implantable sensor based on the NBP-CNW-NTAs/CF microelectrode provides a highly effective strategy for the minimally invasive detection of breast cancer in clinical practice.

Fig. 5: In situ detection of tumor tissues by NBP-CNW-NTAs/CF based electrochemical implantable probe.
figure 5

A, B Digital photographs and histological microscopic images with H&E staining of different dissected breast tumor tissues from surgically resected clinical specimens. C Digital photographs of adipose tissue that enclosed tumor tissue I (control). D Digital photographs of the implantable probe for the in situ detection of breast tumor tissue and the scheme of the integrated probe with the flexible NBP-CNW-NTAs/CF microelectrode as the WE, Ag wire as the RE and Pt wire as the CE. E Amperometric current responses of the implantable probe to the addition of 0.1 mM fMLP into the test solutions containing different real human breast samples. F Histograms of the relative responses of the implantable probe to different real human breast samples under stimulation.

Conclusions

In summary, we designed and synthesized a new type of 3D high-order hierarchically structured NBP-CNW-NTA by a facile, highly effective and well-controllable template method using task-specific ILs of [VEIM]BF4 and [OMIM]PF6 as the precursors. The modular nature of this approach offers new possibilities for synthesizing different carbon nanomaterials with the desired mesostructures, tunable porosities, high carbon yields and changeable doped heteroatoms by adjusting the template structure and the molecular organization of the anions and cations of the ILs. The structural merits and electrochemical properties of the as-obtained NBP-CNW-NTAs/CF microelectrode resulted in a significant improvement in high electrocatalytic activity and durability in the redox reaction of the biomarker H2O2. As a result, the proposed microelectrode exhibited high sensitivity and selectivity, admirable mechanical and operational stability, and good biocompatibility, which enabled it to be embedded into a homemade microfluidic chip and integrated into an implantable probe for the real-time in situ detection of H2O2 secreted from different types of live cancer cells and tissues, which is of vital significance for cancer diagnosis and therapy. We envision that this strategy for the construction of high-order NBP-CNW-NTAs on flexible microelectrodes holds great promise for their extensive applications in next-generation miniaturized and implantable electrochemical devices for biosensing and biomedical engineering, as well as energy-related systems, which will contribute to the future development of functional materials, nanotechnology, electrochemistry, clinical medicine and so on.