1 Introduction

Metal sulfide (MS) nanomaterials are effective photo-catalyst to develop the better organic conversions, energy demands and also environmental purposes by sun light radiation [1,2,3,4,5]. The semiconducting materials like ZnO, ZnS, SnO2, etc. with band gap ≈ 3–3.7 eV exhibit good absorption along UV radiation (below 400 nm) but not good for visible radiation and hence they have limited realistic applications [6,7,8,9]. To avoid the difficulties in real-time applications, the researchers attempted to vary the size and characters of photo-catalyst using metal based nanoparticles and also the composite of semiconductors [10, 11].

In the different semiconducting materials, CdS is an outstanding material for different applications [12, 13] and employed as a excellent antibacterial agent [14]. Moreover, the physical and chemical related properties of CdS can be easily tuned using doping of metal ions [15,16,17,18], the antibacterial and photo-catalytic performance can also be improved by doping suitable metal ions. TM ions added CdS get huge attraction by its better physical and chemical nature [19, 20] and potential applications [21]. In the different TM ions Zn2+ is an initial dopant because it has smaller ionic radius than Cd2+ and so Zn2+ can go into CdS lattice easily and restore Cd2+ ions by elevating its properties [22].

The primary doping of Zn increases the Eg of CdS [23]. The higher surface area is useful to improve both the stability and photo-catalytic activity which is done by Zn in CdS [24]. Moreover, the positive effect is produced during the hybridization of Zn into CdS. Short circuit current of CdS solar cell is improved by Zn addition in CdS [25]. In the present work, Zn doping level is optimized as 10% (Cd0.9Zn0.1S) due to its better photoluminescence and structural properties based on our previous work [26].

The doping of 2nd metal ion from TM group is useful to improve the optical, structural and photo-catalytic properties Cd0.9Zn0.1S nanostructures. Within the different TM ions, the ions with 3d electrons create the various deep energy levels in Cd–S lattice [18]. The stimulation of deep energy levels is technologically important in luminescent devices. The increased optical absorption in the visible region by the addition Ni2+ makes the Ni doped Cd0.9Zn0.1S nanostructures as a good catalyst for photo-degradation under solar irradiation [27]. Eg of CdS is reduced by Ni addition [28]. Ni2+ ions enclose 8 ‘d’ electrons which makes the strong p-d hybridization [29] in Ni/Zn-CdS lattice. Since the ionic radius of Ni2+ (0.069 nm) is smaller than Cd2+ (0.097 nm) and also the electro-negativity (1.91 Pauling) is greater than Cd2+ (1.61 Pauling) [30], the inclusion of Ni produces more number of charge carriers and hence increased the conductivity.

Zn and Cu dual doped CdS is useful for the solar power generation and also for solar hydrogen generation. The Zn doped CdS PEC solar cell exhibits better hydrogen production capacity still at a low voltage bias of 0.1 V/SCE [31]. Kamran et al. [32] revealed the improved IR emission in Ni doped CdS which is helpful for the nano-scale light sources. The decreasing energy gap from 2.36 to 2.29 eV by the Ni doping in CdS was noticed by Sankar et al. [33]. Moreover, the photo-catalytic degradation efficiency around 94% was achieved in Ni doped CdS for MO dye for 75 min. Garmim et al. [34] described the preparation and structural characterization of Ni, Mg dual doped CdS thin films by spin coating method. They found the increased Eg from 2.42 to 2.49 eV by Mg addition up to 5 wt%. Increased photo-catalytic stability and antibacterial activities were found by Raju et al. [35] in Ni added Cd0.9Zn0.1S nanostructure and they explained the enhancement by the combined effect of smaller size and ROS (reactive oxygen species) generating ability.

Sakthivel et al. [36] reported the addition of Ni2+ into Cd–Zn–S enhanced the optical transmittance nature in visible wavelengths and the energy gap was blue-shifted at Ni = 6 at%. Visible light driven photo-catalytic hydrogen generation with the apparent quantum efficiency around 80% was demonstrated by Khan et al. [37] on Cd0.9Zn0.1S. The energy gap of Bi doped Cd0.9Zn0.1S QD was varied between 3.76 and 4.0 eV [38]. Moreover, the maximum PL red intensity was noticed at Bi = 1% doped Cd0.9Zn0.1S. The elevated blue light emission and also the red shifted red emission have been noticed on PL examination of Cr, Zn co-doped CdS [39]. Based on the enhanced optical and emission properties, the Zn, Cr co-doped CdS is suitable for the opto-electronic device applications. The photo-catalytic stability investigation signified that Cu added Cd0.9Zn0.1S exhibits better dye elimination ability and enhanced stability even after 6 continuous cycles with limited photo-corrosion owing to more charge carriers release, improved surface to volume ratio and formation of more defects [40].

The Au doped Cd0.25Zn0.75S nanostructures had exhibited 97% of photo-catalytic removal capacity of MB dye which is 20% superior to the Cd0.25Zn0.75S nanostructures [41]. Zn0.3Cd0.7S exhibited the maximum level of photo-catalytic activity and stability for the degradation of MO with k = 0.85 h−1, which is 2.2 times higher than that of CdS [42]. The optical properties of the Zn added CdS revealed that the energy gap of Zn-doped CdS is higher than the energy gap of the pure CdS nanostructures [43]. The photo-current investigation showed that Zn added CdS are better detector in comparison to the pure CdS. The effect of Zn doping on the optical and photovoltaic characteristics of CdS were investigated using UV–Vis, Raman spectroscopy and J–V plots [44]. The band gap of CdS ilms increased from 2.63 to 2.73 eV with the increase of Zn from 2 to 10% [45]. The carrier concentration of Zn doped CdS films at room temperature are found to be in the range of 1019–1020 cm−3 suggesting that the prepared films are degenerate semiconductors.

It is found from the literature that no detailed investigation on the photo-catalytic and antibacterial studies of Zn/Ni-doped CdS was made. Therefore, in the current work, Cd0.9Zn0.1S and Ni = 3 wt% doped Cd0.9Zn0.1S have been synthesized by co-precipitation route. Further, the role of Ni on the optical, structural, photo-catalytic and antibacterial properties has been investigated and results were interpreted.

2 Experimental Details

2.1 Synthesis of Ni-Doped Cd0.9Zn0.1S (Ni 3%) Nanostructures

Zn and Ni two element doped CdS nanostructures were prepared using co-precipitation route. Precipitation route have a multiple advantages collectively with the addition of different impurities with various doping levels, and excellent quality control of doping [46].

Cadmium acetate dihydrate (Cd(CH3COOH)2·2H2O), zinc acetate dihydrate [Zn(CH3COO)2·2H2O], Nickel acetate tetrahydrate (Ni(OCOCH3)2·4H2O) and sodium sulfide (Na2S) were used as the precursors without further purification. The entire chemicals employed in the present work were analytical grade (AR) and also high purity (> 99% purity). The chemicals, Cd(CH3COOH)2H2O, Zn(CH3COO)2·2H2O, Ni(CH3COO)2·4H2O and Na2S purchased from M/s. Merck chemical Co. were the source of Cd2+, Zn2+, Ni2+ and S2− ions, respectively. The preparation method is as discussed in our earlier paper [26]. The flowchart and the procedures for the preparation of Zn and Ni dual doped CdS nanostructures using chemical precipitation method are as shown in Fig. 1.

Fig. 1
figure 1

Flowchart and the preparation steps of Zn and Ni co-doped CdS using chemical precipitation method

The pH value is maintained as 9.2 by the addition of aqueous ammonia solution. A yellow color output was filtered and rinsed a number of times by high purity distilled water and ethanol to remove the pollution. The collected precipitates were dried using an oven at 100 °C for 18 h. The similar process was replicated for all the samples. The color of the nanoparticles for Ni = 0% is found to be yellow which is changed to brown for Ni = 3%.

2.2 Characterization Techniques

The diffracted patterns of the synthesized samples have been carried out using RigaKuC/max-2500 diffractometer with Cu Kα radiation from 2θ = 20° to 60° with a scan rate of 0.04°/S. The microstructure was also examined by transmission electron microscopy (TEM, Philips- CM200) in the range of operating voltage as 20–200 kV. With the help of ‘image J’ software, size of the nanostructures was evaluated. The size of the particle was estimated from the areas assuming spherical shapes and a histogram of size distribution. The presence of constitutional elements like Cd, Ni, Zn and S were confirmed by energy dispersive X-ray (EDX) spectrometer on K and L lines. The optical absorption and transmittance spectra have been obtained using UV–Visible spectrometer (Model: lambda 35, Make: Perkin Elmer) from 300 to 550 nm at ambient temperature with necessary software.

Photo-catalytic activities of the synthesized samples were carried out on methylene blue (MB) using UV–Vis spectrophotometer. MB stock solution (2 mmol) was prepared in de-ionized (DI) water. 50 mL of prepared MB solution (reactant) was taken into a 100 mL beaker and kept on the magnetic stirrer. Subsequently, 10 mg of the catalyst (synthesized samples) was added into the reactant and irradiations were carried out under UV light (wavelength 360 nm, distance 80 mm, power 80 W) under mild stirring. After UV irradiation, 1 mL of the solution was taken out from the solution at certain time intervals (0 to 3 h) and centrifuged to get the upper clear solution.

Antibacterial activity of the prepared nanoparticle was determined using well diffusion method using Mueller Hinton agar media. Mueller Hinton agar media was purchased from Millipore Sigma (catalog no. 70191). After sterilization and solidification process, wells were cut on the Mueller Hinton agar using cork borer. Two bacteria Staphylococcus aureus (gram positive derived from ATCC 25923) and Escherichia coli (gram negative derived from ATCC 23724) were taken for the study. These bacterial pathogens were swabbed onto the surface of Mueller Hinton agar plates. Wells were impregnated with the test samples of concentration 50 mg/L with norfloxin 10 μg as the standard. The plates were incubated for 30 min to allow the extract to diffuse into the medium. The plates were incubated at 37 °C for 24 h, and then the zone of inhibition was measured in millimeters. Each antibacterial assay was performed in triplicate and mean values were reported.

3 Result and Discussions

3.1 X-Ray Diffraction (XRD)—Structural Studies

Figure 2 represents the XRD profile of Cd0.9Zn0.1S and Cd0.87Zn0.1Ni0.03S nanostructures between 20 and 60°. The existing broadened XRD peaks instead of sharp one indicates the synthesized nanostructures exhibits the particles or grains in the nano-scale dimension. Both samples contain three broaden orientations such as (111), (220) and (311) directions where (111) orientation possesses highest peak intensity than others. After careful background correction and Rietveld refinement of XRD peaks, the observed XRD patterns showed the cubic CdS structure (JCPDS card no.: 10-454) [47]. From the previous literature it is noted that the addition Ni into Cd0.9Zn0.1S lattice induces the mixed phase (both cubic and hexagonal) [46]. Particularly, Dutkova et al. [48] described the changeover of hexagonal structure of CdS into cubic structure by the addition of Zn = 10% into CdS. In the present work, the XRD spectra confirmed the cubic structure of CdS and also it was altered by the addition of Ni. No additional peaks found in the XRD profile proved the phase purity of the samples without any metal or oxide phases of Zn/Ni in the Cd–Zn–S lattice.

Fig. 2
figure 2

XRD pattern of Cd0.9Zn0.1S and Ni = 3% doped Cd0.9Zn0.1S between 20 and 60°

During the addition of Ni = 3% into Cd–Zn–S host lattice, the XRD peak intensity decreased and also the peak position of (111) orientation shifted along the smaller angle side. The noted intensity reduction and the peak position shift by Ni addition reveals the proper replacement of Ni2+ instead of Cd2+ in Cd–Zn–S lattice. The addition of Ni not only restore Cd2+ and also exists as an interstitials which induces structural disorder and defect associated states and are responsible for the modification in peak intensity and position, 2θ [49]. The defect states are related to the chemically prepared nanomaterials as they develop spontaneously at the same of chemical reaction. It may also take place owing to the lack of enough energy required by an atom to shift to an appropriate site in the crystal.

Table 1 illustrates the changes in peak position and FWHM through (111) orientation, cell parameter ‘a’, ‘d’ value, mean crystallite size (D) and micro-strain (ε) of Cd0.9Zn0.1S and Cd0.87Zn0.1Ni0.03S. Here, the crystallite size is derived from Scherrer relation [50], 0.9 λ/β cosθ. Micro-strain is obtained from the relation [51], β cosθ/4. Both in the calculation of crystallite size and micro-strain, the used parameters β and θ were obtained from (111) orientation. Addition of Ni through Cd–Zn–S lattice, the crystallite size is decreased to 51 Å from 63 Å (Cd0.9Zn0.1S). The similar change was noted in Ni–CdS films as reported by Ref. [52]. The shrinkage of size as noticed from Table 1 supports the increase of FWHM and the enhancing micro-strain from 5.471 × 10–3 (Cd0.9Zn0.1S) to 6.706 × 10–3 by Ni2+ addition. The raise of FWHM could also take place from the micro-straining of the crystals originated from defects like dislocation and twinning. The lattice parameters 'a' and 'c' are increased by the doping of Ni through Cd0.9Zn0.1S. The enhanced lattice parameters and the reducing crystallite size were evidenced by Woltersdorf et al. [53].

Table 1 The variation of peak position (2θ), FWHM (β) value, d-value, cell parameter ‘a’, average crystallite size (D) and micro-strain (ε) (along 111 orientation) of Cd0.9−xZn0.1NixS (x = 0 and 0.03) nanoparticles

3.2 Microstructure and Compositional Studies

Figure 3a and b illustrates the typical TEM images of Cd0.9Zn0.1S and Ni = 3% added Cd0.9Zn0.1S samples, respectively. The particle diameters have been evaluated using a histogram of this distribution as shown in Fig. 4. Figure 3a displays the TEM microstructure of Cd0.9Zn0.1S without Ni concentrations; here, shape of the derived grains is almost spherical in nature and they are tightly packed with smooth surface. The particles are well spread inside the sample with the average size around 6 nm (Fig. 4a). Figure 3b displays the TEM image of Cd0.87Zn0.1Ni0.03S sample which exhibits lower crystallite size than the Cd0.9Zn0.1S sample. The reduction in size by Ni in Cd–Zn–S lattice is due to the generation of defect associated lattice disorder. The size of Cd0.87Zn0.1Ni0.03S nanostructure is around ~ 5 nm (Fig. 4b). Moreover, no major changes in shape are observed except the size variation.

Fig. 3
figure 3

TEM micrographs of a Cd0.9Zn0.1S and b Ni = 3% doped Cd0.9Zn0.1S

Fig. 4
figure 4

The estimation of particle diameters using a histogram of TEM distribution a Cd0.9Zn0.1S and b Ni = 3% doped Cd0.9Zn0.1S

For the purpose to investigate the presence of Ni and Zn in CdS, EDX spectra have been performed and Fig. 5 a and b illustrates the EDX measurements of Cd0.9Zn0.1S and Ni = 3% added Cd0.9Zn0.1S samples, respectively. Table 2 describes the changes in quantitative assessment of atomic % of the fundamental elements like Cd, Ni, Zn and S in the prepared samples using EDX spectra. The major EDX peaks validate the elements Zn, Cd, Ni and S. The EDX measurements were taken out at different positions of the nanostructures to enhance the precision of the measurement. It is noted from Fig. 4 that Zn/(Cd + Zn + Ni) ratio is appeared as approximately 10% and the Ni/ (Cd + Zn + Ni) ratio is achieved as 2.93% for Ni = 3% added Cd0.9Zn0.1S. The outcome of the results from Table 2 and Fig. 4 suggested that the atomic % of the fundamental elements in the prepared samples coincidence with the amount of initial chemicals used to prepare the samples.

Fig. 5
figure 5

EDX spectra of a Cd0.9Zn0.1S and b Ni = 3% doped Cd0.9Zn0.1S nanostructures. The inset shows the constituent elements present in the samples

Table 2 The quantitative analysis of atomic percentage of the compositional elements presents in Cd0.9−xZn0.1NixS (x = 0 and 0.03) nanoparticles using EDX analysis

3.3 Optical Absorption and Transmittance Studies

The optical properties and the energy gap of the nanomaterials decide the function and the usage of opto-electronic devices. Figure 6a displays the optical absorption of both Cd0.9Zn0.1S and Cd0.87Zn0.1Ni0.03S from 300 to 550 nm. Figure 6a reflected that Zn = 10% doped CdS (Cd0.9Zn0.1S) exhibits single absorption peak centered at 306 nm. Cd0.9Zn0.1S possesses strong absorption below 340 nm without any anomalous absorption in the higher wavelength visible region. The sudden fall down of absorption below 340 nm is responsible for the energy of Cd0.9Zn0.1S nanostructures [54]. The addition of Ni = 3% induces three anomalous absorption peaks; first one centered at 323 nm (corresponding to ~ 3.85 eV), second at 355 nm (~ 3.50 eV) and the third centered around 436 nm (~ 2.85 eV).

Fig. 6
figure 6

a UV–Visible absorption spectra and b transmittance spectra of Cd0.9Zn0.1S and Ni = 3% doped Cd0.9Zn0.1S from 300 to 550 nm

In the absorption profile, the first peaks related to UV light and the third peak is accountable for bluish-violet light. In addition to the anomalous absorption generation, absorption edge moved towards larger wavelength side (known as red shift) by the Ni inclusion in Cd0.9Zn0.1S nanostructures. The current red shift i.e., decrease of energy gap by Ni addition was explored by Chandramohan [55]. The present shift along higher wavelength side for Ni doped samples evidently signified that Ni2+ ions were substituted into Cd–Zn–S lattice [56].

Generally, the absorption in the UV region i.e., below 380 nm (peaks at 326 and 355 nm) is begins from the electron transitions from valence to conduction bands corresponding to Eg of the nanomaterials [39]. The appearance of anomalous absorption peaks i.e., more peaks by Ni doping is owing to the establishment of different defects like vacancies, interstitials, etc. [55] which act as trapping centers in the lattice. The visible peak at 436 nm (~ bluish violet radiation) is due to the presence of Zn/Cu interstitials in the host lattice. The defects and disorder in the lattice [39] induced by Ni generates the new inter-energy levels in the conduction band [57] and the inter-band transition creates the absorption peak near 436 nm.

Figure 6b represents the transmittance spectra of Cd0.9Zn0.1S and Cd0.87Zn0.1Ni0.03S between 300 and 550 nm. Zn = 10% doped CdS exhibits dominant transmittance in the visible wavelengths and possesses highest transmittance at 78%. At the same time, Ni = 3% doped Cd0.9Zn0.1S sample exhibits relatively higher transmittance of around 83% after 450 nm. The same trend of transmittance was observed by Ouachtari et al. on CdS thin films prepared by CBD method [58]. The noted relative higher transmittance at Ni doped sample in the visible region suggested them for an efficient transparent window in the solar cells [30].

3.4 Energy Gap (Eg)

The energy gap of Zn = 10% added CdS and Ni = 3% added Cd0.9Zn0.1S samples is derived [59] from the graph, (αhυ)2 versus the energy (hυ) Fig. 7 shows the (αhυ)2 versus hυ curves of Cd0.9Zn0.1S and Ni = 3% doped Cd0.9Zn0.1S for energy gap (Eg) calculation. Eg of the above materials is decreased from 3.8 eV (Cd0.9Zn0.1S without Ni concentrations) to 3.38 eV for Ni = 3% added Cd0.9Zn0.1S. Here, the derived Eg (~ 3.38–3.8 eV) is higher than normal CdS which exhibits Eg ~ 2.42 eV [60]. The similar enhanced Eg was noted in TM ions added CdS materials due to its reduced spatial nano dimension [61, 62]. We noted from Fig. 6 that Eg possesses considerable decline (ΔEg ≈ 0.42 eV) during the substitution of Ni = 3%. The same declining trend of Eg was described by Senthil [63] in Ni substituted CdS.

Fig. 7
figure 7

The (αhυ)2 versus hυ curves of Cd0.9Zn0.1S and Ni = 3% doped Cd0.9Zn0.1S for energy gap calculation

Ni2+ inclusion produces the extra free charge carriers which are accountable for the Eg reduction. The creation of additional charges is confirmed by the increase of electrical conductivity and decrease of resistance in Ni–Cd–S lattice [30]. The creation of free electrons is named as “free carrier absorption” which is accountable for the present decrease in Eg. Moreover, the noted reducing Eg by Ni addition is induced from the 'p-d' hybridization of Ni/Cd and sulfide in the existence of intermediary energy levels [32] in Eg. The present shrinkage of Eg recognized the existence of Ni2+ within Cd–Zn–S lattice [56]. This noticeable reduction in Eg by Ni doping is by the generation of extra energy levels inside the Eg of Cd–Zn–S which broaden the light absorption towards the longer wavelengths [64]. The shrinkage in Eg by Ni addition is explained by the energy level diagram as shown in Fig. 8. The same defect associated reduction in Eg was described by Premarani et al. [65] by the introduction of new energy levels around the two bands in Ni doped system.

Fig. 8
figure 8

Energy level graphical diagram to explain the red-shift of Eg in Ni = 3% doped Cd0.9Zn0.1S by the formation of new energy levels by defects

3.5 Photo-Catalytic Studies

MB (odorless and green color chemical) is the major water pollutant discharging from the manufacturing unit like textile industries. It is highly soluble in water and dangerous for the surrounding atmosphere. To eradicate the water pollutant and remove the toxic chemicals from the textile industry wastage, the two metal elements doped CdS is employed as the photo-catalyst. The derived excellent optical properties, smaller size and reducing Eg by Ni addition encouraged the Ni/Zn-CdS nano-system for photo-catalytic applications. Doping of Zn2+/Ni2+ in Cd–S modifies the energy levels of the host lattice and so useful for enhancing the efficiency of the photo-catalyst. In this work, toxic removing capacity of the samples such as Cd0.9Zn0.1S and Cd0.87Zn0.1Ni0.03S were evaluated using MB solution within the time 0–120 min. Here, UV radiation is employed as a source. Literature from absorption spectra indicate that the characteristic wavelength of the MB is in the region around 620–660 nm [66, 67].

The dye removing capacity of nano-sized materials is decided by the generation of photo-created electron–hole couples [68]. The graphical diagram to explain the mechanism of photo-degradation of the dye using our samples as photo-catalyst by UV light is as shown in Fig. 9. During the irradiation of UV energy as seen in Fig. 8, the electrons from lower energy level are elevated to higher levels by releasing electron–hole couples. As, Ni possesses partially occupied orbital and Ni added Cd–Zn–S exhibits sub-energy levels within the band gap, it can generates more couples (electron–hole) within the energy gap. The noted decrement in Eg from Figs. 7 and 8 by Ni inclusion is the one more support to collect the additional visible radiation and hence the generation of more electron–hole pairs [69]. The presence of metal ions like Ni2+ and Zn2+, and the defects such as S2− alter the band structure of CdS and enhance the dye removal efficiency [70].

Fig. 9
figure 9

The graphical diagram to describe the photo-catalytic mechanism of Zn/Ni doped CdS as a catalyst

3.6 Photo-Catalytic Mechanism

Degradation mechanism of MB dye using Zn2+/Ni2+- CdS catalyst is described by the three step reactions [71]:

3.6.1 Step I: Creation of electron–hole couple

$${\text{Zn}}/{\text{Ni doped CdS}} + {\text{ h}}\upsilon \to {\text{Electron }}\left( {{\text{e}}^{ - } {\text{in CB}}} \right) + {\text{Hole }}\left( {{\text{h}}^{ + } {\text{in VB}}} \right)$$

3.6.2 Step II: Photo-oxidation and photo-reduction

$${\text{Electrons}} + {\text{Oxygen molecule }}\left( {{\text{O}}_{{2}} } \right) \to {\text{Superoxide free radical }}({\text{O}}_{{2}}^{ \cdot - } ) \, \left( {\text{photo - reduction}} \right)$$
$${\text{Holes}} + {\text{Hydroxyl ion }}({\text{OH}}^{ - } ) \to {\text{Hydroxyl radical }}({\text{OH}}^{\cdot} )\quad \left( {\text{photo - oxidation}} \right)$$

3.6.3 Step III: De-gradation process

$${\text{Hydroxyl}}\,{\text{radical }}({\text{OH}}^{\cdot} ) + {\text{MB}} \to {\text{Degradation}}\,{\text{product}}$$
$${\text{Superoxide}}\,{\text{free}}\,{\text{radical }}({\text{O}}_{{2}}^{\cdot - } ) + {\text{MB}} \to {\text{Degradation}}\,{\text{product}}$$
$${\text{OH}}^{\cdot} + {\text{O}}_{{2}}^{\cdot - } + {\text{MB}} \to {\text{H}}_{{2}} {\text{O}} + {\text{CO}}_{{2}} \uparrow + {\text{SO}}_{{4}}^{{{2} - }}$$

In the 1st step electron–hole couple is created during the photo reaction. In the 2nd step, the induced electrons in CB by photon absorption can combine with oxygen molecules and generate the superoxide free radical (O2⋅−). The released anions further react with H2O2 and generate the hydroxyl radicals such as OH , O2 and OH. The photo generated holes can react with OH and generatye the hydroxyl radicals OH. The photo generated species like superoxide free radicals (O2⋅ −), OH radicals and H2O2 acting as chief role in the third step i.e., de-gradation process. The above species combine with MB chemical solution and gives the non-toxic degradation products. During the 3rd step, all the chemical bondings are broken and blue colour MB dye de-colorize into color-less product [72]. At the end of the reaction, MB solution is de-generated as H2O, CO2 and SO42−.

Figure 10 presents the UV absorption spectra of MB solution containing Cd0.9Zn0.1S and Cd0.87Zn0.1Ni0.03S powders as catalyst with various UV light exposure time between 0 and 120 min. At initial time (0 min. irradiation), the absorption shows maximum around 660 nm. The intensity falls steadily with the exposure time and reaches minimum at 120 min. The declining absorption intensity around 660 nm is higher for Cd0.87Zn0.1Ni0.03S sample than Cd0.9Zn0.1S. To extract the information about the dis-integration of MB solution containing the two synthesized samples, a graphical plot is drawn among the MB concentration fraction (Ct/C0) versus exposure time (0–120 min.) as shown in Fig. 11a. Figure 11b illustrates the variation of dye removing (degradation) efficiency of MB solution from 0 to 120 min. irradiation times. The dye removing efficiency is obtained by the equation [73], η (%) = [(C0 − Ct)/C0] × 100 = [(A0 − At)/A0] × 100, here, C0 and Ct are concentration of MB dye solution at the times, '0' and ‘t’ minutes, respectively, and A0 and At are the corresponding absorption values.

Fig. 10
figure 10

The variation of absorption intensity of MB solution using a Cd0.9Zn0.1S and b Ni = 3% doped Cd0.9Zn0.1S as the catalysts between 400 to 800 nm

Fig. 11
figure 11

a The concentration ratio (Ct/C0) versus exposure time profile (0–120 min) and b degradation efficiency of MB solution with Cd0.9Zn0.1S and Ni = 3% doped Cd0.9Zn0.1S nanostructures

The changes in dye removing capacity are explained by the micro-structural and morphological variation and nano-dimension of the catalyst [74]. Figure 10b reflected that Cd0.87Zn0.1Ni0.03S solution exhibits better MB dye removing efficiency than Cd0.9Zn0.1S which may be due to the enhanced surface are and the lower Eg. Table 3 represents the dye removal efficiency of Cd0.9Zn0.1S and Cd0.87Zn0.1Ni0.03S compared with other materials in the literature. The reduced size induces more active sites which enhance the interaction between MB dye and the surface of the catalyst. This interaction improves the photo-catalytic degradation efficiency [81]. The noted better dye removing efficiency in Cd0.87Zn0.1Ni0.03S solution is collective result of charge carrier generation, better optical nature at higher wavelength, enhanced surface area and the stimulation of additional energy levels at the conduction band [82]. To study the mineralization of MB solution, the photo dis-integration study was made by COD (chemical-oxygen-demand) investigation. The percentage of COD reduction is presented in Table 4. After 120 min of UV exposure time with Cd0.87Zn0.1Ni0.03S 94% reduction are received. The present result suggests that almost the total mineralization of MB was made by Cd0.87Zn0.1Ni0.03S.

Table 3 The MB dye removing efficiency of Cd0.9Zn0.1S and Cd0.87Zn0.1Cu0.03S compared with other materials with different dyes in the literature
Table 4 COD measurement for Ni = 0 and 3% doped Cd0.9Zn0.1S samples between 40 and 120 min. time intervals

To investigate the practical application in the factories, the stability i.e., re-usability study is carried out using Cd0.9Zn0.1S and Cd0.87Zn0.1Ni0.03S samples as catalyst for six more runs. Figure 12 illustrates the resultant degradation efficiency at 120 min. exposure time for six re-cycling runs. At end of each run, the output sample is washed several times by de-ionized water and the additional water content is removed using oven at 70 °C for 1–2 h. The sample after cleaning again used for the further cycles. The efficiency of Cd0.87Zn0.1Ni0.03S is derived as 94% at the initial run and it is decreased to 87% for 6th continuous runs. Similarly, Cd0.9Zn0.1S exhibits 82% efficiency at first run and decreased to 76% for 6th run. Figure 12 illustrates the difference in degradation efficiency is ~ 7% for Cd0.87Zn0.1Ni0.03S under six continuous runs which certifies that Ni doped sample have better stability.

Fig. 12
figure 12

Investigation of photo-catalytic activity of Zn and Ni co-doped CdS for degradation of MB solution under UV exposure time of 120 min for six runs of degradation reaction

3.7 Antibacterial Studies

The bacterial strains can be classified into main categories as gram-negative and gram positive. The major difference between the two types is the cell structures and the outer cell membranes. It is understand from the literature that the drug or any material depends upon mainly the nature of membranes of bacteria [83]. S. aureus and E. coli are the two bacterial strains used in the current investigation, the deadly bacteria, which induce various diseases. S. aureus and E. coli are the Gram-negative and Gram-positive bacteria. Figure 13 displays the zone of inhibition (ZOI) of Cd0.9Zn0.1S and Cd0.87Zn0.1Ni0.03S samples in millimeter (mm) against different bacterial agents such as S.aureus (gram + ve) and E. coli (gram − ve). Here, ZOI represents the efficiency of bacterial killing capacity and norfloxin is employed as a standard. Figure 14 illustrates the graphical explanation of changes in ZOI for the bacterial strains S.aureus and E. coli.

Fig. 13
figure 13

The zone of inhibition (ZOI) in mm of Cd0.9Zn0.1S and Ni = 3% doped Cd0.9Zn0.1S nanostructures against S. aureus and E. coli bacterial strains

Fig. 14
figure 14

The graphical representation of ZOI for different micro-organisms such as S. aureus and E. coli bacterial strains using Cd0.9Zn0.1S and Ni = 3% doped Cd0.9Zn0.1S nanostructures

Figures 13 and 14 intimated that Ni substituted Cd0.9Zn0.1S provides the superior anti-bacterial activity against the two bacterial agents than Cd0.9Zn0.1S which is mainly due to the variation in the quality of the bacterial cell walls. Both bacterial strains have a − vely charged cell wall. The property that is hypothesizing to influence the relations between the cell walls of the bacterial agents and NPs or + ve charged ions liberated from them. In the present study, CdS releases Cd2+ ions whereas, Zn2+ and Ni2+ ions in aqueous solution paying to the antimicrobial efficiency. The liberated Cd2+, Zn2+ and Ni2+ ions appreciably contributed to the overall antibacterial result of nano-system [84]. Within the different mechanisms [85, 86] to explore the antibacterial nature, the breakdown of CdS and the reactive oxygen species (ROS) production are believed as the leading mechanism. The metal ions such as Cd2+, Zn2+ and Ni2+ have superior potential as antibacterial strains attributable to its skill to create ROS.

ROS species like O2⋅ −, H2O2 and OH [87,88,89] are generated for the period of electron transition from VB to CB. The establishment of ROS is as follows:

$${\text{Zn - Ni - Cd - S}} + {\text{h}}\upsilon \to {\text{e}}^{ - } + {\text{h}}^{ + }$$
$${\text{h}}^{ + } + {\text{H}}_{{2}} {\text{O}} \to {\text{H}}^{ + } + {\text{OH}}^{ \cdot } \quad \left( {\text{hydroxyl radicals}} \right)$$
$${\text{e}}^{ - } + {\text{O}}_{{2}}^{.} \to {\text{O}}_{{2}}^{ \cdot - } \quad ({\text{superoxide}}\,{\text{radical}})$$
$${\text{O}}_{{2}}^{.} + {\text{H}}^{ + } \to {\text{HO}}_{2}^{ \cdot }$$
$${\text{HO}}_{{2}}^{.} + {\text{ e}}^{ - } \to {\text{HO}}_{{2}}^{ \cdot - }$$
$${\text{HO}}_{{2}}^{ \cdot - } + {\text{ H}}^{ + } \to {\text{H}}_{{2}} {\text{O}}_{{2}}$$

The radicals, O2 and OH are the potential ROS species to control the bacterial strains and generate the poisonous effect to the bacterial agents. Padmavathy [90] described that O2 and OH influence the outside section of the bacterial cell membrane and the radical H2O2 is going inside the inner portion of the bacterial cells. Figures 13 and 14 reflected that Cd0.87Zn0.1Ni0.03S displays the better bacterial killing activity than Cd0.9Zn0.1S. Mechanism behind the superior bacterial killing capacity at Ni doped sample is explained in Fig. 15. The existence of metal ions like Cd2+, Zn2+ and Ni2+ are also plays influential role in the antibacterial activity.

Fig. 15
figure 15

The graphical representation of mechanism behind the antibacterial activity of Ni = 3% doped Cd0.9Zn0.1S nanostructures with three different stages

The induced ROS by the photo-catalyst reduce the anti-oxidant protection system, inhibit ATP generation and damage the cell membrane. The ROS production is dominantly influenced by the alteration of band structure by Zn2+/Ni2+ into CdS. They have the potential to modify the electron transport chain within bacteria. Moreover, H2O2 generation also limit the development of bacteria [91, 92]. The higher anti-bacterial killing efficiency at Cd0.87Zn0.1Ni0.03S may be from the reduced size i.e., increased surface area and also more ROS generating ability [93]. The ROS and the positive charged ions accelerate the dis-integration of cell walls which enhances the leakage of cell elements and forces the cell death [94, 95]. The graphical representation of mechanism behind the antibacterial activity of Ni = 3% doped Cd0.9Zn0.1S nanostructures with three different stages is illustrated in Fig. 15.

The release of metal ions (Cd2+, Zn2+ and Ni2+) also inhibit the bacterial agents. The + ve ions are attracted by − ve charged bacterial cells and hence they enter easily the cell wall of the bacteria and react through—SH clusters present in the wall. This reaction guides the death of the bacterial [73]. It is understand from Fig. 14 that E. coli bacteria show better anti-bacterial efficiency than S. aureus. Even though all bacteria possess internal cell wall, E. coli holds a distinctive external wall which forbids the drugs and antibiotics and hence decreases the cell damage. The presence of unique cell wall in E. coli is accountable for accomplishment more antibacterial efficiency than S. aureus bacteria. Vanaja et al. [96] also noticed the higher ZOI using silver as a catalyst at gram negative strains than the gram positive strains owing to the variation in the bacteria cell wall.

4 Conclusions

Cd0.9Zn0.1S and Cd0.87Zn0.1Ni0.03S were prepared by chemical co-precipitation method. The XRD profile proved the cubic crystal structure of the samples without any impurity related phases and no changes in the cubic phase were noted by Zn/Ni doping in CdS. The reduced size from 63 to 51 Å and the dissimilarities in lattice parameters and micro-strain has been discussed by Ni addition and the defects connected with Ni2+. The noticed anomalous absorption bands in the visible wavelength and the elevated transmittance at Ni doped sample suggested that the synthesized materials are useful for the fabrication of efficient opto-electronic devices. The band gap reduction during the substitution of Ni = 3% is explained by the generation of extra energy levels associated with defects within the two bands. The release of additional charge carriers, improved optical property, reduced particle size and more defect generation are responsible for the enhanced photo-catalytic performance of Ni doped Cd0.9Zn0.1S. The photo dis-integration was also confirmed by COD study which affirms the complete mineralization of MB solution. The photo-catalytic re-cycling study confirmed the stability of Ni doped Cd0.9Zn0.1S for six cycle runs. The enhanced anti-bacterial capacity in Cd0.87Zn0.1Ni0.03S is described by the collective response of reduced particle size and higher ROS generating capacity.