1 Introduction

Titanium dioxide (TiO2) nanomaterials are incredible photocatalysts among all available metal oxides that gain the great interest of researchers on account of their effective and exceptional properties such as great photo-catalytic activity; negligible toxicity; corrosion resistance; inexpensive, easy to modify, thermodynamic stability; and a high compatible factor. Additionally, engineered TiO2 has achieved wide applicability in different domains from bioscience to space science such as for the synthesis of inverted heterojunction solar cell devices, elimination of environmental pollutants, dye degradation, hydrogen generation, pesticides, popular photoanode material in DSSCs (dye-sensitized solar cells) and heavy metal adsorption [1,2,3]. TiO2 has three crystal forms, namely, anatase, rutile, and brookite based on their lattice arrangement. According to structural aspect, anatase is zigzag structure where every octahedron shares four edges with another four octahedrons; brookite has a crystalline structure where every octahedron shares three edges with tunnels along the c-axis and in rutile phase, formation of linear chains along the direction [001] is performed by sharing of two octahedrons, and the TiO6 chains are linked to each other through corned shared bondings. Among all three forms, anatase and brookite are considered metastable that transformed to rutile after heating, and rutile is reported the stable form [4]. The defined lattice arrangement of anatase makes it highly photoactive and commonly utilized in photocatalysis among these three types. Based on optical activation property, all three forms of TiO2 have different band gaps, and stable phases likely anatase (band gap = 3.2 eV) and brookite (band gap = 2.96 eV) have metastable phase, and rutile (band-gap = 3.0 eV) has most stable phase [5, 6]. Although all phases of TiO2 (anatase, brookite, and rutile) have larger band-gap energies suitable for an optical absorption edge in the UV range (ultraviolet range); however, the absorption is not activated in the VIS range (visible light range). This wide band-gap energy (3.2 eV) of TiO2 nanoparticles restricts its uses and application. In the same context, to overcome this drawback, engineering of TiO2 nanomaterials performed via doping has been realized as an effective approach since electron trapping magnifies the electron–hole dissociation, upgrades the photocatalyst surface properties, and amplifies surface electron excitation by plasmon resonances elevated by visible light [7, 8]. Especially for the modification of inorganic semiconductors, metal and nonmetal doping is a very appropriate and efficient method. It supports the synthesis of visible light-responsive TiO2 photo-catalysts, decreasing its wide band gap [9]. The remarkable response has been reported by some non-metal anions including B, C, I, N, S, and some metal cations such as Cr, Fe, Ag, V for the extension of photo-response of semiconductors toward the visible light range [10, 11]. According to Habibi and Jamshidi [12], C-doped TiO2 nanoparticles have registered upgraded photocatalytic performance in visible light, prepared by sol–gel process. They reported that 51.18% methylene blue degradation was traced in the aqueous phase of degradation. Regarding Ag dopant, Abbad et al. [7] has informed that 10%-weight Ag-doped TiO2 nanoparticles can perform complete degradation of methylene blue. Sood et al. [13] explained that, at 0.05 mol% Fe3+ molar concentrations, Fe-doped TiO2 nanoparticles were able to degrade 92% of para-nitrophenol in 5 h by following hydrothermal method. By addition of nitrogen precursor for synthesis of N-doped TiO2, nanoparticles gave excellent outcomes for photocatalytic activity of catalyst under visible light. N:TiO2 (1.5 at.%) ratio concluded a reduction in band gap from 3.2 to a minimum of 2.79 eV [14]. Though economic growth of the country majorly dependent on the textile manufacturing but simultaneously high levels of virulent and undesirable dyes released from textile and leading imbalance in the integrity of the ecosystem that causing environmental pollution. Among the verities of dyes, acid dyes are immensely used in industry as they are considered water-soluble anionic dyes and broadly applied to modified acrylics, wool, nylon, and silk. Photocatalysis is a considerable tool for effective degradation of dye from pollutant water [15]. In remediation aspect, TiO2 is assumed the most commonly applied and efficient photocatalyst with promising application in dye degradation from aqueous solution as textile wastewater (major challenge of the municipal world) became an alarming issue toward people health and environment [16]. Various types of nanoparticles including ZnO, Ag, TiO2 and many have been reported noticeable antimicrobial activity with respect to diverse microbial sources such as Brucella abortus, Candida albicans, and Salmonella typhimurium [17]. TiO2 nanoparticles have also great potential for inhibition of pathogenic microorganisms gram positive (Bacillus cereus and Streptococcus pneumonia) and gram negative (Escherichia coli and Pseudomonas aeruginosa) bacteria, viruses, and fungi. Moreover, doped TiO2 nanoparticles such as Ag-TiO2 nanoparticles are exceptionally effective for inhibition multi-drug resistant bacteria growth like Klebsiella oxytoca, Klebsiella pneumoniae, Pseudomonas aeruginosa, Proteus mirabilis, Staphylococcus aureus, and fungal isolates including Fusarium solani, Aspergillus flavus, Aspergillus fumigatus, and Aspergillus niger [18,19,20,21].

Though TiO2 nanoparticles have massive applicability in numerous sectors, there exist few limitations with pure TiO2 form like inefficient visible light exploitation due to larger band gap, low adsorption capacity, and recombination of photo-generated charge carriers that influenced photocatalytic activity. To overcome these limitations, doping incorporated with metals and nonmetals has proven an effective and approachable technique that can engineer the band gap of TiO2 nanomaterials and expands their applicability [22]. In our research, we have investigated the efficacy of photodegradation by using different dopants for band-gap engineering and making TiO2 nanoparticles effective in VIS irradiation. We have synthesized various doped TiO2 nanomaterials: nitrogen doped (N doped), carbon doped (C doped), iron doped (Fe doped), and silver doped (Ag doped) via the most convenient and easy “sol–gel method.” This method had various advantages, such as less time to perform lowest temperature processing, composition accuracy, economic, purity, and control nanoparticle growth. The photocatalytic degradability was verified by analyzing methylene blue degradation under both UV and VIS spectral ranges. The antimicrobial properties and dye degradation potency of the differently doped nanoparticles were also verified in the paper. To verify the band-gap energy difference and other physio-chemical properties, ultraviolet–visible spectroscopy (UV–Vis), Tauc plot formation, SEM (scanning electron microscope), EDS (energy dispersive spectrophotometer), and X-ray diffraction (XRD) were performed.

2 Experimental

2.1 Materials

Titanium (IV) isopropoxide (TTIP) obtained by SRL Pvt. Ltd. was used as a titania precursor. Urea [(NH2)2CO], glucose [C6H12O6], silver nitrate [AgNO3], and ferrous sulphate heptahydrate [FeSO4.7H2O] from HIMEDIA were obtained as sources of all dopants: nitrogen (N), carbon (C), silver (Ag), and iron (Fe), respectively. Methylene blue [C16H18N3S] from SRL was used for the observation of photocatalytic activity and acid pink azo dye from Color Tax (Pvt) Ltd. for dye degradation in wastewater. Isopropyl alcohol (≧ 99.8%) was acquired for washing nanomaterials. LB (Luria Bertani) Broth, Miller from HIMEDIA, and E. coli (MTCC 2961) were used for the bacterial observations. All the procured chemicals were of analytical grade, and no further purification was performed. Deionized water was utilized for the preparation of all solutions and reagents throughout the process.

2.2 Methods

2.2.1 Synthesis of TiO2 photocatalyst

Synthesis of N-, C-, Fe-, and Ag-doped TiO2 nanoparticles was done by a simple, efficient, and modified sol–gel method. Different concentrations of all dopants were utilized for the synthesis of doped TiO2 nanoparticles [12, 23]. About 1–4% w/v urea was dissolved in 100 mL of deionized water into a beaker and stirred for 15 min for getting N1, N2, N3, and N4, N-doped TiO2 nanoparticles, respectively. A total of 10 mL of titanium isopropoxide (TTIP) was added dropwise to the solution to attain suspension and vigorously stirred on a magnetic stirrer (REMI 5MLH) for 30 min at 900–1000 rpm. Obtained suspensions were centrifuged at 5000 rpm for 10 min at room temperature. The supernatant was drained out, and the settled particles were washed with isopropyl alcohol and deionized water 4–5 times. The particles were dried at 40 ℃ for 15 h in a hot air oven. A similar process was applied for the preparation of C-doped, Fe-doped, and Ag-doped TiO2 nanoparticles with addition of same percentage weight of glucose as a precursor to form C1, C2, C3, and C4, ferrous sulphate heptahydrate for Fe1, Fe2, Fe3, and Fe4 and silver nitrate for Ag1, Ag2, Ag3, and Ag4 by using silver nitrate. Undoped TiO2 (UD) nanoparticles were procured by dissolving 10 mL of TTIP in 100 ml of deionized water, and the rest process was followed the same as doped nanoparticles.

2.2.2 Photo-absorbance and activation energy determination of the TiO2 nanoparticles

The synthesized TiO2 nanoparticles, both doped and undoped, were subjected to a photo-absorbance activity test. All the samples were scanned under the full wavelength range, from 200 to 1100 nm for verifying their absorbance characteristic in visible and UV ranges (ELICO Double Beam SL 210 UV–Vis spectrophotometer). The scan results were used to develop a Tauc plot to analyze the activation energy of the prepared TiO2 samples. For the analysis of band-gap engineering of semiconductor-like material that is TiO2, tauc plot was the appropriate method that was applicable for both types of semiconductors, that is direct and indirect [24].

2.2.3 Determination of photocatalytic activity of the TiO2 nanoparticles

Degradation of methylene blue helped in evaluation of photocatalytic activity of all photocatalyst powders [25]. Degradation rate of methylene blue (10 mg/L) in triplicate was measured under ultraviolet (UV) light irradiation and visible light irradiation by dissolving 0.1 mg of catalyst samples (N1, N2, N3, N4, C1, C2, C3, C4, Fe1, Fe2, Fe3, Fe4, Ag1, Ag2, Ag3, Ag4) into 10 mL of methylene blue solution in test tubes. Sonication of the acquired samples was done for 1 h, 2 h, and 3 h with further shaking for 12 h at 200 rpm under a visible light source and UV light source, respectively. All samples were centrifuged at 13,000 rpm at 4 ℃ for 10 min. The optimum wavelength for methylene blue was analyzed by scanning the sample from wavelength 200 to 1100 nm. The absorption spectrums were recorded using UV–Vis spectrophotometer at 664-nm wavelength as it has shown λ-max (maximum absorption wavelength).

2.2.4 Degradation of dyes in wastewater

Dye degradation analysis was done by the removal of acid pink dye from aqueous solutions using the adsorption process based on different types of doped TiO2 nanoparticles. This process was performed by using UV–Vis spectrophotometer with full-range scanning, from 200 to 1100 nm and at 550-nm wavelength as it shows maximum absorption wavelength (λ-max) for acid pink dye. Acid pink dye solution (0.5 g/L) was reacted by different doped TiO2 nanoparticles with 100 mg/L concentration. All samples were kept in dark for 60 min to reach equilibrium stage, and then absorbance was noted after 60-min, 120-min, and 240-min incubation under visible light. The percentage degradation of acid pink dye was calculated by the following formula [26]:

$$\mathrm{\%\;Degradation}=\frac{\mathrm{Initial\;absorbance}-\mathrm{Final\;absorbance}}{\mathrm{Initial\;absorbance}}*100$$
(1)

2.2.5 Determination of antimicrobial activity of TiO2 nanoparticles

Antimicrobial activity was determined by observing MIC (minimal inhibitory concentration) in broth suspension [27]. Pre-inoculums were prepared by introducing 2% E. coli (MTCC 2961) bacterial culture into 100 ml of LB broth medium and incubated for 24 h at 37 ℃. About 1% E. coli inoculums were inoculated in 10 mL of LB broth medium along with all catalyst samples separately and incubated at 37 ℃ for 150 rpm under visible light. Growth of culture was valued after incubation for a defined time period (0 h, 6 h, and 24 h).

$$\mathrm{\% Inhibition}=\frac{\mathrm{Absorbance of catalyst}-\mathrm{ Absorbance of culture }(\mathrm{without catalyst})}{\mathrm{Absorbance of culture }(\mathrm{without catalyst})}*100$$
(2)

The percentage inhibition zone of all photocatalysts was calculated by following the above formula.

All photocatalysts were proceeded to a fine powder form for morphological analysis. In SEM/EDS analysis, an initial sample was coated with palladium by sputtering in the presence of process gas (argon gas) for 1 min. After that treated samples were scanned at optimum magnification and image was captured as per required outcomes. Simultaneous same sample was analyzed for EDS, and graphical/numerical outcomes of existing elements were observed.

3 Result and discussion

3.1 Morphological characterization

The physical and morphological characteristics of the differently doped TiO2 nanoparticles such as structural variability, size, and crystallinity were identified with SEM–EDS analysis and XRD observation. The synthesized doped nanoparticles of carbon and iron show change in color; both the doped nanoparticles developed yellow to brown color in synthesis. The nitrogen- and silver-doped nanoparticles had retained the same white color as the undoped TiO2 nanoparticles. The SEM analysis was performed by JSM IT500 scanning electron microscope. SEM images of the different doped nanoparticles (Fig. 1) revealed the formation of microspheres. The microsphere size length was determined for C doped as 245 µm as maximum and 79 µm minimum, with a mean of 161.72 µm. Similarly, for N doped, Ag doped, and Fe doped, the measured length was 155 as maximum and 96 µm, with a mean of 137.52 µm, 148.39 as maximum, and 96 µm, with a mean of 117.678 µm, 211 µm as maximum and 83 µm, with a mean of 102.672 µm. The EDS analysis of the doped nanoparticles confirmed the respective inclusion of dopants in the structure of TiO2, which can be seen in Fig. 1 (e–h). Similar morphological results were reported in earlier reports [28,29,30,31].

Fig. 1
figure 1

SEM image of a C-doped TiO2, b N-doped TiO2, c Ag-doped TiO2, and d Fe-doped TiO2. The EDS analysis data of percentage composition of TiO2 nanoparticles with e doping of C, f doping of N, g doping of Ag, and h doping of Fe

3.1.1 XRD analysis

The crystallinity and the phase formation of the prepared TiO2 samples were analyzed using an X-ray diffractometer (Bruker D8 advance), and further analysis was carried out by referring Habibi S. and Jamshidi M [12]. The measurements were carried out at 40 kV and 40 mA, which employed CuKα radiation at a wavelength of 0.15418 nm at an angular incidence of 2θ = 5–80°, with a scan step speed of 1°/min. Figure 2 represents the XRD patterns of all the synthesized doped TiO2. The XRD diffraction pattern reveals that all the doped TiO2 samples had retailed their crystallinity. The characteristics anatase (101) and rutile (110) could be distinctly identified for the XRD pattern in Fig. 2. The characteristic peaks at 2θ = 25.4° and 2θ = 27.5° for TiO2 were observed in all the doped TiO2 nanoparticles, thus retaining the lattice characteristics of TiO2 particles and their photocatalytic effect. In N-doped TiO2 nanoparticles, the anatase phase is more prominent as compared to C-, Ag-, and Fe-doped particles. The difference could be identified by the peak of 2θ = 27.5°, in these doped nanoparticles.

Fig. 2
figure 2

XRD pattern for differently doped TiO2 nanoparticles

3.2 Tauc-plot for a band gap

The optical band-gap energy of undoped (UD) and doped (N1, N2, N3, N4, C1, C2, C3, C4, Fe1, Fe2, Fe3, Fe4, Ag1, Ag2, Ag3, Ag4) TiO2 nanoparticles has been evaluated by extrapolating linear region of the plot of eV () verses (αhν)1/2 [32]. According to previously reported literature (Aguilar et al. [33]), anatase and rutile phases of TiO2 were considered indirect semiconductor material and followed indirect band-gap energy equations,

$${(\alpha hv)}^{n}=K(hv-{E}_{g})$$
(3)

where

α”:

absorbance coefficient,

”:

incident photon energy,

K”:

energy-independent constant

Eg”:

band-gap energy

n”:

nature of transition (n = 1 for direct transition and n = 1/2 for indirect transition)

In tauc plot method for indirect transition, eV () was plotted on x-axis and (αhν)1/2 on y-axis. The final equation used for tauc plot was

$${(\alpha hv)}^{1/2}=K(hv-{E}_{g})$$
(4)

By referring to Eq. (4) calculated, the band-gap energies were calculated for all catalysts, and the best-fit value of each dopant is shown in Fig. 3. Among the N-doped TiO2 nanoparticles, C-doped TiO2 nanoparticles, Fe-doped TiO2 nanoparticles, and Ag-doped TiO2 nanoparticles with all different concentrations decreasing order of band-gap energies have been reported in the order N2 (2.1 eV) > C2 (2.8 eV) > Ag1 (2.9 eV) > Fe2 (3.0 eV). N2 nanoparticles have shown the lowest band gap among all the nanoparticles and are indicated to be the most active in the VIS range [34]. The effectivity is later verified by methylene blue degradation.

Fig. 3
figure 3

Plot of eV () versus (αhν)1/2 to evaluate the band-gap energy of a C-doped TiO2 nanoparticles b Ag-doped TiO2 nanoparticles c N-doped TiO2 nanoparticles d Fe-doped TiO2 nanoparticles

3.3 Observation of photocatalytic activity

The photocatalytic activity of C, N, Ag, Fe, and undoped TiO2 was determined in both visible spectrum and ultraviolet spectrum for determining the dye degradability (methylene blue) at different time exposures. The results are verified, and its efficacy was established by analysis of variance. With respect to influence of different metal and nonmetal dopants, C, N, Ag, and Fe could also improve crystallinity, increase in the specific surface area or thus, additionally, enhancing the photocatalytic performance regarding reaction time [35]. Table 1 represents the results of the degradability of methylene blue by different dopants with different dopant concentrations at respective treatment exposures at 1, 2, 3, and 12 h. From the result, it can be inferred that the exposure time for the degradation of methylene blue does not have a significant effect. The η2 value (Table 2) of time was insignificant (value = 0.08) for the degradation, whereas the doped nanoparticles of different dopants have significant influence (η 2 = 0.968), the efficient degradation of methylene blue under visible range. Moreover, it was observed from the data that the effect of different doped nanoparticles was efficient in the photocatalytic degradation under visible range in the order N > C = Ag > Fe > undoped. So, from Table 1, it could be concluded that N-doped TiO2 nanoparticles were more efficient in photocatalytic degradation at a visible range at any hourly treatment effect. Apart from the dopant and time factor, the analysis was also carried out for dopant percentage weight in engineered TiO2 for organic pollutant degradation via photocatalysis at visible wavelength range. From Table 3, it could be seen that dopant percentage weights have a significant influence on the degradability of methylene blue under the visible wavelength range. It was observed that 2% and 3% N-doped TiO2 were more significant than any other dopant or any other chosen percentage weight for the degradation. The effect of significance can be represented as 2% = 3% > 1% > 4%.

Table 1 Effect of different engineered nanoparticles at different time exposures under visible light irradiation
Table 2 Effect size analysis of role of different factors toward absorbance level
Table 3 Comparative analysis of effect of nanoparticle degradation with different dopant weights

We could infer from the results of Tables 1, 2, and 3 that dopant and dopant percentage affects the photocatalytic treatment, but the treatment time is not significant after 1 h of treatment. Based on this inference, final treatment conditions were established with differently doped nanoparticles, dopant weight percentage, and exposure to visible and UV irradiation for 1 h. The results from Table 4 show under visible light irradiation N-doped TiO2 nanoparticle of doped percentage of 2% and 3% performed best among all dopants and percentage weight. It could be concluded that N-doped TiO2 with a dopant weight percentage of 2–3% is most efficient in methylene blue degradation. For any dye degradation, types of engineered nanoparticle (η2 = 0.997) and percentage weight of dopant (η2 = 0.987) are the most significant factors and the treatment in the independent time factor after the 1st hour (Table 5).

Table 4 Comparative analysis of effect of nanoparticle with different dopant percentages on degradation of methylene blue at visible and UV irradiation range
Table 5 Effect size analysis of role of different factors toward absorbance level

3.4 Investigating dye removal by catalysts

All developed nanoparticles show different potential toward acid pink dye. After reaching equilibrium stability, there were insignificant changes in degradation, but results received after 60 min in visible light reaction have done almost complete degradation (98.4%) of acid dye by Fe2 (iron-doped TiO2 nanoparticles). While, among all other doped photocatalysts, N1 (1% concentration) has shown highest degradation, i.e., 87.3% in nitrogen-doped TiO2 nanoparticles, C2 with 88.5%, and Ag2 with 87% dye degradation rate. Further reactions were performed at 120 min and 240 min with minimal changes (Fig. 4 a–d).

Fig. 4
figure 4

Dye degradation by all photocatalysts at different time intervals under visible light (ad)

3.5 Antimicrobial activity

Synthesized samples supported the antibacterial activity under the visible light because of improved photocatalytic activity and observed by minimal inhibitory concentration [36]. By Swain et al. [37], initial and final concentrations of all samples were analyzed before the reactions started by UV–Vis spectrophotometer at 600-nm wavelength (Fig. 5). Growth analyses of samples were recorded after 6 h and 24 h. After 6-h incubation, all Ag-doped TiO2 nanoparticles showed almost complete inhibitory after this Fe2 registered the lowest minimal inhibitory concentration of 37.95% (possible killing mechanisms of bacteria) calculated by Eq. (b). Similarly, for the 24-h incubation, Ag-doped TiO2 nanoparticles completely inhibit the growth of bacterial strain because Ag NPs itself shows great antimicrobial and drug delivery potential, with the mechanism that silver nanoparticles were associated with the production of free radicals and proceeding free-radical-induced oxidative damage of the cell membranes of bacteria, and N2 showed the lowest minimal inhibitory concentration of 29.2% (possible killing mechanisms of bacteria) [38,39,40].

Fig. 5
figure 5

Minimal inhibitory concentration of all photocatalysts at different time intervals under visible light

This work has shown that major drawback of TiO2 (i.e., higher band gap) has been overcome by applying a very simple and effective doping method. Now, these modified doped TiO2 nanoparticles have vast relevancy and potential to reach out a broad domain of applications. They can be successfully utilized for soil remediation, phenol degradation, CO2 reduction, Cr(VI) reduction, H2 production, wastewater treatment, air purification, and many more. Moreover, TiO2 is a very convincible photocatalyst that can be customized and modified according to targeted issues [41, 42].

4 Conclusion

Corroboration of all results represented that N2 has shown to be the best and lowest band gap, i.e., 2.1 eV and also confirmed for 74% degradation rate of methylene blue. A total of 98.4% degradation industrial acid pink azo dye was registered by Fe2 photocatalytic. In aspect of antimicrobial activities, Ag-TiO2 has shown complete inhibition, followed by N2 with 70.8% inhibition. Relatively, all observations suggested that type and amount of dopant influenced the activity of photocatalysts. The study may be extended for wide applications in natural light (as UV spectrum is not a barrier) right from surface reaction to pollutant abetment in air and expanded to industrial application via a product form.