Introduction

In recent years, industrial development has increased globally, particularly in the textile industries, driven by the growing human population and changing lifestyles. However, this growth has negatively impacted the environment owing to the disposal of untreated liquid waste (Haryono et al. 2018). Textile waste is one of the most common types of liquid waste. Generally, the liquid waste from textile industries contains dyes such as Congo red (CR), methyl orange, methylene blue, and azo dye, all of which are harmful to living organisms and the environment (Sausan et al. 2021). CR, in particular, is highly toxic in aquatic environments, posing a threat to various species (Saraswati et al. 2015) and causing liver, kidney, and nerve damage in humans (Januariawan et al. 2019). Therefore, efforts are needed to minimize environmental pollution from textile waste.

Photocatalysis is one of the easiest and most effective methods for treating textile wastewater. The photocatalytic process occurs when certain materials are exposed to light irradiation. In the photocatalysis system, the generation of electrons and holes is crucial for producing free radical atoms, which are used to break the bonds of pollutant molecules. Electrons in the valence band (VB) gain energy from the irradiation, allowing them to jump or become excited to the conduction band (CB), leaving holes in the VB. These electrons and holes then react with certain molecules in the water (O2 or H2O) to produce free radicals that are useful for decomposing organic pollutants (Aliah et al. 2012).

Carbon dots (CDs) exhibit good photocatalytic activity in the degradation of textile wastewater owing to their strong visible light absorption, high luminescence, and excellent light-capturing ability, making them suitable for light-emitting diode (LED) applications (Sawalha et al. 2021). Additionally, they are eco-friendly and possess good water solubility (Mondal et al. 2019). CDs with good water solubility emit bright fluorescence when exposed to light and possess excellent optical stability, making them suitable for various applications such as sensors, bioimaging, nanomedicine, and LEDs (Yang et al. 2020). Figure 1 illustrates the various applications of CDs and the processes within CDs when they absorb energy from light for hydrogen production.

Fig. 1
figure 1

a Dependence of CDs on the synthesis process, which affects the applications of the CDs, including energy production (such as hydrogen and hydrogen peroxide production), electronics (such as light-emitting diodes and sensors), and medical uses (such as photodynamic and photothermal therapy, nanomedicine). b Photocatalytic process: incoming photons (light) excite charges, initiating the reaction process for hydrogen production

CDs synthesized from organic compounds in the form of natural resources are rich in heteroatoms, making them suitable as antibacterial agents without the need for additional external heteroatoms (Vikneswaran et al. 2014). These natural resources are typically derived from various parts of plants, including leaves, roots, peels, fibers, and flowers.

Waru leaves (Hibiscus Tiliaceus L.) are a source of bioactive metabolites and antioxidants, including alkaloids, flavonoids, glycosides, tannins, carbohydrates, steroids, amino acids, saponins, and proteins (Nasrollahzadeh et al. 2018; Rawool and Parulekar 2019; Andriani et al. 2017). These compounds are similar to those found in previous studies on the formation of CDs from banana peels (Atchudan et al. 2021). Additionally, the various functional groups present, such as carboxyl, hydroxyl, and amine, can easily attract cationic ions, making them potential candidates for water and wastewater treatment (Remli and Aziz 2020).

Since the discovery of CDs, microwave-assisted synthesis methods have been the most reported owing to their simplicity, cost-effectiveness, and eco-friendly nature, as they do not require additional chemicals. The microwave-assisted method (MAM) is favored because it involves low production costs, making it suitable for both small- and large-scale industries to use for treating their organic waste. Architha et al. (2021) synthesized CDs from Plectranthius amboinius (Mexican Mint) leaves using the MAM, resulting in spherical CDs with an average diameter of 2.43 ± 0.02 nm and surface functional groups containing oxygen. The functional groups are useful in increasing water solubility (Architha et al. 2021). This method is widely used by researchers on natural carbon sources, including lotus roots (Gu et al. 2016), Hibiscus rosa (Suhail et al. 2020), Nerium oleander (Simsek et al. 2019), and raw cashew gum (Pires et al. 2015). Despite the potential of CDs as eco-friendly photocatalysts for wastewater treatment, there is a need for a sustainable and efficient synthesis method to enhance their photocatalytic performance. Additionally, exploring unconventional carbon sources for CD synthesis is crucial for expanding the range of available materials in nanotechnology applications. Table 1 presents various synthesis methods and carbon sources used in producing CDs.

Table 1 Various synthesis methods and carbon sources used in producing CDs for photocatalysts

The synthesis of CDs from Waru (Hibiscus Tiliaceus L.) leaves as a natural carbon source through the MAM for photocatalyst applications under halogen lamp irradiation has not been reported yet. The impact of halogen lamp irradiation at different durations (50 and 60 min) on the absorption properties of CDs needs to be determined to identify the most effective synthesis conditions and enhance their performance as photocatalysts. Hence, in this study, CDs from both fresh and dried Waru (Hibiscus Tiliaceus L.) leaves were synthesized through the MAM and applied as photocatalysts using CR as a pollutant model for textile industries. The study investigated varying irradiation times to achieve optimal efficiency. The performance of the photocatalyst was determined through kinetic model analysis using ultraviolet–visible (UV–vis) spectra recorded during halogen lamp irradiation with a wavelength range of 340–850 nm. To elucidate the structural and absorption properties of the photocatalysts, chemical functional groups were analyzed to identify n–π* and π–π* bonds at the surface state of CDs through Fouriertransform infrared (FTIR) spectroscopy. We explored the mechanism of the CD function in the photocatalyst system and demonstrated the potential eco-friendly wastewater treatment applications of CDs derived from Waru leaves by assessing their photocatalytic degradation efficiency.

The research addresses challenges associated with eco-friendly photocatalysts by focusing on the synthesis and characterization of CDs derived from Waru leaves, aiming to enhance their performance for wastewater treatment applications.

Materials and methods

Materials

Waru leaves (Hibiscus Tiliaceus L.) were collected from Tanjung Merdeka, Makassar City, South Sulawesi, and used as a carbon source. Aquades was used as a solvent, and CR served as a model organic pollutant from the textile industry.

Preparation of waru leaves (Hibiscus Tiliaceus L.)

Waru leaves (Hibiscus Tiliaceus L.) were prepared in two forms: fresh and dried. The Waru leaves were washed thoroughly with clean water to remove dust and unwanted particles present on the surface. The dried leaves were prepared via shade -drying. The leaves were cut into small pieces and weighed using an analytical balance, with 3 g dissolved in 100 mL of distilled water each in a beaker glass. The mixing process was conducted using a blender until the solution was evenly mixed.

Synthesis of carbon dots

The precursor solution was synthesized via microwave irradiation for 50 min and 60 min to produce CDs in powder form. The powder was then dissolved in 100 mL of distilled water through stirring with a chemical spatula. The CD solution was separated from the solid material using filter paper and centrifuged at 4,000 rpm for 20 min (Architha et al. 2021). There are four types of CDs: fresh leaves microwaved for 50 min (referred to as DS 50) and 60 min (DS 60) and dried leaves microwaved for 50 min (DK 50) and 60 min (DK 60). Afterward, the leaves were stored in reagent bottles for further use as a CR catalyst. The prepared CDs were characterized via FTIR and UV–vis spectrophotometry.

Studies of dye degradation

The concentration of CR dye used was 5 mg/L for two different volumes of CDs: 5 mL and 10 mL. Approximately 5 mL of CDs was added to 100 mL of the dye solution. The reaction solution was placed in a sealed box for irradiation by a 300 W halogen lamp. CR dye degradation was monitored separately at different experimental parameters to test the photocatalytic performance of CDs at a maximum wavelength value of 498 nm (Zaib et al., 2021). The dye degradation rate can be calculated using Eq. (1) (Zaib et al., 2023):

$$\%D = \frac{{A}_{0}-A}{{A}_{0}} \times 100\%$$
(1)

Kinetics modeling of dye degradation

Kinetic modeling was employed to analyze the photocatalytic degradation kinetics data of synthesized CDs on CR (Mansuriya and Altintas 2021):

$$\text{Order }0: A = {A}_{0}-kt$$
(2)
$$\text{ Order }1:\text{ ln}A =\text{ ln}{A}_{0}-kt$$
(3)
$$\text{ Order }2: \frac{1}{A} = kt + \frac{1}{{A}_{0}}$$
(4)

Here, \({A}_{0}\) and \(A\) represent the concentration of dye molecules in solution at times \(t\) and \(0\), respectively, and \(k\) is the appropriate rate constant.

Results and discussion

CDs have been successfully synthesized using a carbon source from Waru (Hibiscus Tiliceaus L.) leaves via the MAM. The aim of this synthesis is to determine the absorption wavelength of CDs and their photocatalytic activity through the assessment of their ability to transform harmful CR into harmless compounds (clean water). The characteristics studied include absorbance spectrum, surface structure analyzed through FTIR spectra, degradation efficiency, and degradation kinetics. Figure 2 illustrates the physical appearance of the CDs under visible and UV light, the relationship between bandgap and luminescence color, and the photocatalytic mechanism of CDs.

Fig. 2
figure 2

a Solution of CDs under visible light; b solution of CDs irradiated with UV light at a wavelength of 395 nm; c photocatalytic organic transformation from harmful organic pollution to harmless compounds

Figure 2a illustrates a solution of CDs irradiated with visible light, resulting in a brown solution, while Fig. 2(b) illustrates CDs irradiated with UV light at a wavelength of 395 nm. The CDs exhibit luminescence indicated by a blue solution. As reported by Fahri et al. (2022), a relationship exists between luminescence color and the bandgap of CDs; brown luminescence indicates a lower bandgap compared with blue luminescence. The color arises from photon emission when electrons from the CB jump to the VB for recombination, releasing their energy, which depends on the bandgap of CDs. Ozyurt et al. (2023) reported that photoluminescence (PL) properties depended on the size, sp2-conjugated core, and functional groups on the surface electronic states of CDs. They also reported that the blue emission was due to sp2 hybridization and that the green emission was due to the electron redistribution in CD aggregation, which was affected by the surface groups being close to each other.

A comparison between Fig. 2a and b indicates that the CDs derived from Waru (Hibiscus Tiliceaus L.) leaves exhibit a bandgap under any source of irradiation, suggesting a high potential for photocatalyst applications. Figure 1d illustrates the mechanism of CDs as photocatalysts. In this case, the electron at the VB (referred to as highest occupied molecular orbital in (c)) gains energy from the irradiation source, allowing it to jump to the higher energy position, the CB (referred to as lowest unoccupied molecular orbital in (c)), leaving behind a hole at the VB. The electron at the CB exits the CDs to react with O2 through a reduction process, while the hole at the VB reacts with H2O through an oxidation process. Both reaction processes produce radical atoms OH, which are useful for breaking the bonds of the chemical structure of the pollutant until H2O and CO2 are obtained as the final products.

Absorption spectrum of CDs

UV–vis spectrophotometry was employed to determine the absorbance spectra of CDs as a function of wavelength. The absorbance spectrum of CDs synthesized from Waru leaves (Hibiscus Tiliaceus L.) is illustrated in Fig. 3.

Fig. 3
figure 3

Absorption spectrum of CDs synthesized from fresh (DS) and dry (DK) Waru (Hibiscus Tiliaceus L.) leaves was obtained through microwave irradiation for 50 and 60 min

As shown in Fig. 3, the fresh leaf-derived sample DS 50 shows two absorbance peaks at the wavelengths 322 nm and 339 nm, while sample DS 60 shows peaks at 325 nm and 332 nm. In a typical UV − vis spectrum, there are two typical absorption peaks arising from the π–π* transition of the C = C bond and the n–π* transition of the heteroatoms (e.g., N, O, P, B, S, and Se). For dried leaf-derived samples, DK 50 shows absorption peaks at 325 nm and 336 nm, while DK 60 shows peaks at 322 nm and 339 nm. These peaks correspond to the absorbance spectrum of CDs measured at a wavelength of 260–550 nm (Dewi et al. 2016) indicating the presence of n–π* transitions of heteroatoms (e.g., N, O, P, B, S, and Se) attached at the surface state of the CDs through multiple bonds, in this case C = O bonds (Sausan et al. 2021; Vikneswaran et al. 2014; Remli and Aziz 2020). There are three main possible emission sources of CDs, which depend on their structure:

  1. 1.

    Carbon core from polyaromatic units (Smrithi et al. 2022).

  2. 2.

    Surface defect states at the edge of sp2 carbon domains serve as surface trap states. The contribution from sp2 carbon generally requires a significant fraction of sp2 aromatic units (Cheng et al. 2022).

  3. 3.

    Molecular-like fluorophores synthesized via multicomponent procedures result from amide-containing molecular-like fluorophores attached at the surface states (Bayda et al. 2021).

FTIR spectra of CDs

FTIR spectroscopy was conducted to determine the functional groups present at the surface state of CDs. The FTIR spectra of CDs from Waru leaves (Hibiscus Tiliceasus L.) are illustrated in Fig. 4, with observed wavenumbers ranging from 4,000 to 500 cm−1.

Fig. 4
figure 4

FTIR spectra of CDs synthesized from fresh (DS) and dry (DK) Waru (Hibiscus Tiliaceus L.) leaves, prepared via microwave irradiation for 50 and 60 min

The samples feature an absorption band at 3200–3,500 cm−1, indicating the presence of O–H (Dewi et al. 2016; Liu et al. 2017) and N–H bonds, which appear in the form of stretching vibrations (Xu et al. 2015; Sun et al. 2020). Peaks at 2,922 cm−1 and 2,854 cm−1 correspond to the formation of C–H bonds (Architha et al. 2021; Deka et al. 2019; Atchudan et al. 2018; Ma et al. 2019). Peaks at wave numbers 1,722 cm−1 and 1,627 cm−1, identified as C = O (n–π*) bonds, indicate higher graphitization levels, leading to higher absorption at the CD surface (Deka et al. 2019; Bayat et al. 2019; Monte-Filho et al. 2019). A C = C (π–π*) bond is also formed at 1,523 cm−1 (Bayat et al. 2019). Overall, the functional groups formed are influenced by the stretching vibration in the core and at the surface state (Sun et al. 2021).

The absorption capacity of CDs is due to the complex nature of the surface state CD structures, and little progress has been reported so far in determining the position of the ground- or excited-state energy levels (Xu et al. 2020). The intriguing absorption properties of CDs have attracted significant research attention for photocatalyst applications (Zhang et al. 2020). CDs typically exhibit excitation wavelength-dependent emission or absorption properties, which are influenced by the nanocrystal size and affect their energy band gap. Typically, existing nonradiative recombination occurs when the fluorescence of CDs is low, indicating a low band gap (Wang and Lu 2022). Carbon, nitrogen, hydrogen, and oxygen bonds are affected by the surface state structure of CDs. The presence of nitrogen and hydrogen bonds impacts the band gap, as nitrogen can create new energy levels, particularly at the surface state of CDs (Tuerhong et al. 2017).

Analysis of CR degradation by CDs

In this study, the photocatalytic activity of CDs derived from Waru leaves (Hibiscus Tiliaceaus L.) was assessed according to the photodegradation of CR dye under irradiation using a 300 W halogen lamp for up to 90 min. Two volumes of CDs, namely 5 mL and 10 mL, were added to 100 mL of CR solution with a concentration of 5 mg/L (Zaib et al., 2023). UV–vis spectrophotometry was employed to record the absorbance spectrum during irradiation, and the spectra are presented in Fig. 5. The degradation of the CR solution, as evidenced by a decrease in the absorption peak during irradiation, indicates that CDs are functioning as a photocatalyst (Bie et al. 2022).

Fig. 5
figure 5

UV–vis absorption spectra depicting the photocatalytic degradation of CR in the presence of CDs a for 5 mL CDs and b for 10 mL CDs

Photocatalysts can function in the liquid or gas phase through a three-stage photodegradation process: diffusion, absorbance, and desorption (Petit et al. 2016). The diffusion process occurs before irradiation, in which the surface state of CDs plays a crucial role. A larger surface area results in higher diffusion efficiency. Furthermore, the absorption process involves electron transfer between the hydroxyl carbon of CR and the atoms at the surface state of CDs. In this study, the sample underwent continuous irradiation or energy addition for up to 90 min. Finally, the desorption process releases back the ions that were used to break the chemical bonds of harmful CR, resulting in harmless byproducts (Indira et al. 2021).

Figure 5 illustrates the percentage of photocatalytic CR degradation based on Eq. (1), and the corresponding results are presented in Table 1. DK 60 exhibits the highest degradation efficiency (87%), with irradiation times of 30 min and 90 min for 10 mL CDs in CR solutions.

The degradation test was conducted under different irradiation times ranging from 0 to 90 min for CD volumes of 5 mL and 10 mL. CR degradation increased steadily with increasing irradiation time owing to electrostatic interactions between the catalyst surface and the dye ions of CR (Arul and Sethuraman 2018). For the other CDs, the degradation rate first increased and then decreased owing to competition between reactants and products. The low degradation rate of dyes after a certain time limit was due to the short lifetime of the photocatalyst owing to the deactivation of reactive species (Zaib et al., 2021). The CR degradation efficiencies in this study are shown in Table 2, and a comparison among various carbon sources and pollutant types is presented in Table 3.

Table 2 CR degradation performance of different volumes of CDs (5 mL and 10 mL)
Table 3 CD-based photocatalysts for various carbon sources, dye types, and their irradiation times and degradation efficiencies

According to Table 3, various CDs were applied as photocatalysts for dyes such as methylene blue (MB), methylene orange (MO), and CR, with specified irradiation times. The degradation process of dyes after a specific time is influenced by the short lifespan of the photocatalyst owing to the deactivation of reactive species (Zaib et al., 2021). A comparison with various references in Table 3 demonstrates the high potential of the CDs synthesized in this study as a photocatalyst. For example, the CDs achieve a CR degradation efficiency of 87% in just 30 min, indicating that the surface state of CDs from Waru leaves is highly active in bonding with CR atoms, leading to a high generation of electrons and holes for producing radicals. In contrast, coffee grounds, watermelon rinds, and olive oils require a minimum of 2 h to degrade MO or MB (Maddu et al. 2020; Remli and Aziz 2020; Sawalha et al. 2021).

The kinetic parameters of the three models and their correlation coefficients were calculated for different volumes of CDs with CR concentrations of 5 mg/L. The rate constants (k) are shown in Table 4, with subscript numbers corresponding to orders 0, 1, and 2.

Table 4 CD kinetic rate (k), with subscript numbers corresponding to the order 0, order 1, and order 2

According to Eq. (2), the order kinetic model was assessed by plotting Fig. 6, which depicts the \(A-{A}_{0}\) relationship at different irradiation times for CR on different CDs. Similarly, for Eq. (3), \(\text{ln}A\) and \(\frac{1}{A}\) (Eq. 4) were plotted to indicate the corresponding relationships at different irradiation times.

Fig. 6
figure 6

Kinetics for the degradation of CR dye by CDs photocatalyst. for 5 mL CDs and 10 mL CDs derived from Fig. 4

According to Fig. 6, the degradation rate constant (k) and the correlation coefficient (R2) were determined for each type of CD (Zaib et al., 2023), and the results are summarized in Table 4. The rate constants for fresh leaf-derived CDs DS 60 with a volume of 5 mL are as follows: order 0 (k0) 0.0016 min−1, order 1 (k1) 0.0133 min−1 and order 2 (k2) 0.1290 min−1. These values are greater than those for dry leaf-derived CDs DK 60 with a volume of 5 mL, which are as follows: order 0 (k0) 0.0013 min−1, order 1 (k1) 0.0093 min−1 and order 2 (k2) 0.0693 min−1. Thus, the degradation rate constant (k) for DS 60 with a volume of 5 mL is greater than that for CDs 60 with the same volume. This occurs because degradation increases with different irradiation times, and the value of k is obtained from the slope of the plot in Fig. 6.

According to Fig. 6 and Table 4, DS 60 with a volume of 5 mL photocatalytically degrades CR within 90 min of irradiation, while DK 60 degrades CR within only 30 min of irradiation.

For DK 60, degradation increased rapidly in the first 30 min of irradiation exposure owing to the slow degradation of the dye after a specific time, likely due to the short lifetime of the photocatalyst and the deactivation of reactive oxygen species (Zaib et al., 2021; Zaib et al., 2023). Molecules probably act as a barrier to visible light, thereby reducing the concentration of OH ions and slowing down the dye degradation process. However, for DS 60, the opposite occurs, leading to an increase in the production of OH radicals and consequently an increase in the degradation rate.

Conclusion

According to the results of the research, data analysis, and discussion, CDs derived from Waru leaves (Hibiscus Tiliaceus L.) exhibit an absorbance peak at wavelengths of 300 nm to 340 nm, consistent with the absorbance spectrum of CDs within the wavelength range of 260 nm to 550 nm. The CDs derived from Waru leaves demonstrate photocatalytic activity in degrading CR. This is evidenced by the maximum degradation rates achieved, with the fresh leaf-derived CDs DS 60 achieving 75% degradation after 90 min of irradiation, and the dry leaf-derived CDs DK 60 achieving 87% degradation after 30 min of irradiation.