1 Introduction

A photocatalyst is defined as a process based on a semiconductor material when a photocatalyst semiconductor is irradiated by light, the absorbing light; create electron–hole pairs by electronic transitions. The photocatalyst semiconductor triggers through this pairs a reduction and/or an oxidation reaction. The photocatalytic system has several characteristics, including the band gap, the position of the upper edge of valence band (VB), and the lower edge of the conduction band (CB), in comparison to water oxidation-reduction potential, in which the VB should locate more negative to the oxidizing potential, and the CB should locate more positive to the reducing potential. There are many photocatalysts reported in the literature [1,2,3,4,5,6,7]. The most studied and commercially used are metal oxides like, TiO2, ZnO and SnO2, elements that are much available in nature and stable in different of conditions. However, it can absorb ultraviolet light and can exploit just 3% to 5% of the solar spectrum energy due to the band gap energy range between 3.2 and 3.68 eV. Considerable strategies have been developed to improve the absorption performance to utilize the solar spectrum more efficiently, such as heterojunction structures [1, 2]. Recently, a new family of materials based on chalcogenides has been developed; possess smaller band gaps, which is favourable for visible-light absorption [3,4,5,6,7,8]. In this article, we thoroughly synthesis and study Covellite copper sulphide (CuS); It is one of the chalcogenide semiconductors. CuS crystallizes in a simple hexagonal structure forming the P63/mmc(194) space group with lattice dimension, a = 3.79 Å and c = 16.36 Å [9]. The CuS has some particularities, as band gap energy of 2.36 eV [10], high conductivity and a good optical absorption coefficient [11, 12], besides it includes only the earth abundant elements, inexpensive, easy to prepare and non-toxic. It has also other fascinating physical and chemical properties (electronic, optical,…) which can be used in semiconductors [6, 13,14,15], and has great attention, due to the wide range variation of the stoichiometric composition including Cu2S, Cu7S4, Cu1.94S, Cu1.96S and CuS [16, 17]. It has many potential applications for electrodes [18], solar energy conversion through photoelectron chemical cells [19], cathode of high-capacity material in lithium rechargeable batteries [20], application for a nonlinear optical materials, solar controller, solar radiation absorber [21], chemical sensors [22], catalyst [23], and thermoelectric cooling material [24]. Considering the different technological applications and various morphologies of CuS compound [25,26,27,28,29,30,31], that has been made by deposition techniques such as hydrothermal [32, 33], solvothermal [34, 35], thermolysis [36], microemulsion [37], chemical vapour deposition (CVD) [38], wet chemical method [39] or spray pyrolysis [40], etc. In order to enhance some physical properties notably optical and electrical, many recent researchers focus on doping copper sulphide with different elements as Zn or Pb [41, 42], which showed that after doping, the properties of CuS changed and kept different perspectives. For example, Ali Yildirim et al. [41] have used the SILAR method to investigate the physical characteristics of Zn doped CuS, and have showed that CuZnS has a hexagonal crystal structure, and they have exhibited that depending on Zn content the energy band gap can be increased from 2.03 to 2.14 eV and that with the increase of intensity of light, the current can be raised by the increasing rate of illuminated 500 W cm−2 films. By a simple chemical co-precipitation method, Sreelekha et al. [14] have noted too that the optical band-gap changes according to cobalt content. Suarez et al. [42] performed a detailed X-ray diffraction (XRD) aiming to elaborate the thin film and study his electrical characteristics for doping (PbS)1−x(CuS)x films. They have shown the presence of PbS and traces of CuS in the films, with p-type conductivity behaviour. Besides that, a number of studies have focused on the properties of this material doping with some transition metals (Fe, Co, Ni) in view of a possible applications in photocatalytic [14, 15, 43]. In order to study the magnetic properties, other researchers have investigated the dilute magnetic semiconductors (DMSs) which have a suitable band gap of the prevailing semiconductor and their strong ferromagnetism behaviour at room temperature through doping with other metallic elements (Cr, Mn, Fe, Co and Ni) intended for spintronic device application [44, 45]. More Recently, Sreelekha et al. [14] have also synthesized Fe doped (CFS) using chemical co-precipitation route and revealed that the transition from the ferromagnetic phase to the paramagnetic phase depends on the concentration of Fe doping CuS with strong ferromagnetism for 3% Fe doped CuS at room temperature. The aim of our work is to study the (Cu1−xFexS) thin films deposited evolution employing the chemical spray pyrolysis technique with optimizing application parameters such as host and dopant concentration, flow rate, time and distance of spraying, nature and pressure of carrier gas, as well as substrate temperature and solvents used. Such studies are not discussed in most of the available work on Cu1−xFexS (CFS) thin films [18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45]. We have highlighted here, the variation of the band gap and the changes in the alignment of the edges band of the Fe doped CuS with different pH solutions. This study proves that with an appropriate Fe concentration, our thin films are an appropriate semiconductor with optical properties that promote its application as a visible light photocatalyst in hydrogen-oxygen production by water splitting.

2 Materials and methods

2.1 CFS thin film operating mode

As mentioned in our previous thin film research, Cu1−xFexS thin films were sprayed onto soda–lime glass substrates (Dimensions, length × width × thickness: 1 cm × 1 cm × 0.1 cm respectively) maintained at 500 °C using chemical spray pyrolysis technique (CSP) [46,47,48,49,50,51]. For a variation in the amount of FeCl2 from 0.01 to 0.07 the concentration of CuCl2 was 0.02 M and CS(NH2)2 was 0.08 M in solution. In the process of the homogeneous solution preparation, we used 5 ml of ethanol as solvent at room temperature, with solutions of iron chloride (FeCl2.4H2O), copper chloride (CuCl2.2H2O), and thiourea (CS(NH2)2) in 200 ml of distilled water. Then the solution is agitated for more than 40 min at 40 °C. The use of the solvent improves the stability of the mixture and makes a better quality films. One of the most important steps before starting the process is to prepare soda–lime glass substrates is cleaning it from every particle of dirt with ethanol and distilled water for 15 min respectively before having it dry with a hairdryer, and checking if the surface of the substrate is perfectly flat without any scratches, we generally use the soda–lime glass substrates shaped by diamond to avoid flatness defects. Fig. 1 illustrates a schematic explanation of the chemical spray pyrolysis system. This system is made up of two major parts: the heating part, and the spraying part. The first one consists of the hotplate, the temperature controller and the thermocouple, the second one consist of the spray nozzle, the dosing pump and the drive motor. Referring to the Masterflex apparatus data the prepared solution was sprayed with a rate of 1.5 ml/min through the spray nozzle towards the substrates with about 40 µm droplets diameter, depending on the flow rate of the solution. The carrier gas of the sprayed the solution is the dry air. The samples of sprayed deposition have to be annealing for one hour at 500 °C.

Fig. 1
figure 1

Schematic of chemical spray pyrolysis technique (CSP)

2.2 The thin films characterization

To characterize the structure of thin films, we used the XRD system by a diffractometer (Bruker D8 Discover, Cu-Kα at λ = 0.154056 nm). To examine closely both the morphological and the chemical composition, we used an electron microscope (ZEISS EVO® MA 15). For the optical properties test of our thin films, we measured the electromagnetic spectrum from 300 to 800 nm including UV, visible and near infrared with a spectrophotometer (Lambda 900 UV/VIS/NIR).

3 Results and discussion

3.1 Structural properties

Figure 2 shows the X-ray diffraction results of the sprayed CuS and CFS thin films. The X-ray Diffraction results showed that CFS films crystallizes in the hexagonal phase with a privileged orientation along (102), these are well consistent with the JCPDS database standard (hexagonal phase, PDF no. 06-0464). For each value of peaks 23.4°, 23.44°, 27.88°, 29.4°, 31.8°, 48°, 52.76° and 57.12° can be attributed to (004), (100), (101), (102), (103), (110), (108) and (116) 57.12° planes respectively of CuS phase. The lattice dimensions are a = 3.790 Å and c = 16.370 Å that is harmony with the hexagonal type CuS structure [14]. The good dispersion and lower content of Fe doping no impurities peaks of such as CuxS and FeS have been observed in this pattern. The Fe doping’s increase shifts slightly the (102) peak position of the simple towards a bigger diffraction angle. This due to the difference in the Fe2+, Cu2+ radius (0.078 nm) and (0.065 nm), respectively, [43, 52]. Additionally to that, the variations of (102) high-flying peaks intensity meanwhile the FWHM changes, which might be attributed to incorporation of Fe2+ ion into Cu2+ site. For 0.01, 0.03 and 0.05 Fe-doped CuS thin films, their (102) peaks were gradually decreased, which could be attributed to an increase of stacking defects and a loss of periodicity in the deposition of CuS crystals. The increase in stacking faults as well as the loss of CuS crystals deposition periodicity. The film having the highest intensity is those attached to the 0.07 film concentration, subsequently, the best crystallization compared to the others films. This preferred orientation is explained of course by the start of a new nucleation in the proximity of doping atoms, thus promoting the development of CFS structure [52].

Fig. 2
figure 2

X-ray diffraction pattern of undoped and various Fe-doped CuS thin films

From Table 1, it is obvious that the increase in Fe doping causes lattice primitives expansion of a and c. So far, this result is clearly compatible with the expected result, because the radius of iron ions is larger than that of copper ions in CuS [43, 52]. Further, the average crystallite sizes were calculated in comparison using Debye-Scherrer and Williamson-Hall equations as Eqs. (1) and (2), respectively [48, 53]:

$$ D = \frac{0,9\lambda }{{\beta \cos \theta }} $$
(1)
$$ \beta \cos \theta = \frac{0,9\lambda }{D} + 4\varepsilon \sin \theta $$
(2)

With 0,9 is the shape factor, λ is the X-ray wavelength (equal to 0.15406 nm for CuKα), β is the line broadening at half the maximum intensity (FWHM), θ is Bragg's angle and ε is the micro strain of the samples.

Table 1 Structural parameters of undoped and various Fe-doped CuS thin films

As shown in Table 1, the results of the calculated crystallite size were summarized from Scherrer’s and Williamson-Hall formulae. The results of the Williamson–Hall analysis for the CuS and CFS thin films are shown in Fig. 3. Fit to the data, the strain is extracted from the slope and the crystalline size is extracted from the y-intercept of the fit.

Fig. 3
figure 3

The W–H plot of undoped and various Fe-doped CuS thin films

According to Table 1, the calculated crystallites size of CFS was found to be in range of 121–171 Å due to improvement of its crystallinity, which is consistency with the reported studies [14, 15, 43]. At this point, the interpretation made by different authors is called that the FWHM decreases due to an increase in the crystal quality of the samples [54].

Also, it is obvious that the crystallite size calculated from XRD data using Scherrer equation is smaller than crystallite size determined from Williamson–Hall method. This might be due to the fact that the Scherrer method actually measures the coherence length of the X-rays, any crystal imperfections will cause the calculated size to be smaller than the true size but in WH method the microstrain effect was taken into consideration [55].

To calculate ‘a’ and ‘c’ lattice constants, we use the following equation [47]:

$$ {\frac{{1}}{{d^{{2}} (hkl)}} = \frac{{h^{{2}} + k^{2} }}{{a^{{2}} }} + \frac{{l^{{2}} }}{{c^{{2}} }}} $$
(3)

The surface morphology, density, shape and the crystallites distribution are well exposed by the electronic scanning microscopy analysis. Morphologies of the synthesized films for Fe concentrations are revealed in Fig. 4. We can establish that the films CuS and CFS crystallize in a hexagonal plate-like morphology, with an average thickness of about 400 nm, according to profilometer measurements. These conform well to XRD analysis. However, the observed surface morphology of the thin films shows a very well crystals growth with a good crystallinity. It is observed an important modification in morphology of the Fe doped CuS films as Fe dopant concentration was increased. This tendency can be caused by incorporation of Fe on the growing surface. The small growth shows that they are homogeneous without split or emptiness.

Fig. 4
figure 4figure 4

SEM images and EDX results of undoped and various Fe-doped CuS thin films

The typical EDX spectrum of deposited thin films is indicated in Fig. 4. The elementary analysis gave peaks indicating the presence of copper (Cu), sulphur (S) and iron (Fe) as well as other peaks indicating other elements such as Si(K), C(K) and Ca(K) have attributed to the soda–lime glass substrate.

3.2 Optical properties

Figure 5 indicates the absorbance analysis in range the measuring from 300 to 800 nm. The results show that the samples exhibit a high absorbance in the visible region and the maximum value (2.9) was observed for 0.07. As illustrated in this figure, the wavelength of 350–600 nm represents the high absorption range of the films. It increases with increasing Fe doping, which demonstrates that Fe doped CuS thin films allows to absorb more radiation in this region as observed in previous studies [14, 15]. This strong photonic excitation gives rise to an electronic transition of the valence band which is totally filled towards the conduction band. The result is electron/hole pairs (e/h+) creation in the Fe-doped CuS that could initiate oxidation-reduction reactions for water splitting when exposure to air, or when it is in solutions. Using Tauc’s model Eq. (4), we estimated the energy band gap [49, 50]:

$$ {\left( {\alpha h\upsilon } \right)^{{2}} = A\left( {h\upsilon - E_{{\text{g}}} } \right)} $$
(4)

Where α is absorption coefficient, A is the constant related to the effective mass associated with the bands, Eg is the energy band gap, h is Planck’s constant, and υ is frequency.

Fig. 5
figure 5

Optical absorbance spectra of undoped and various Fe-doped CuS thin films

The pure CuS and CFS thin films direct band gap was obtained by intercepting the curve linear regions between hυ and (αhυ)2 illustrated in Fig. 6. For undoped CuS, the obtained direct band gap value is 2.47 eV. For doped Cu1−xFexS (x s= 0.01, 0.03, 0.05 and 0.07) thin films, the measured band gap values are 2.34, 2.16, 1.99 and 1.98 eV respectively (Fig. 6). Here, the energy band gap values found near to the Eg values in a previous accounted study [14, 56, 57]. It has been found that the absorption edge changes with increasing Fe concentration, which stimulates a variation in the band gap value. The reasons explaining the narrowing values of band gap in thin films of semiconductors are reported here. This band gap reduction is due to the spd exchange interaction of band electrons and Fe2+ localized electrons caused by the inclusion of Cu2+ sites [14]. Hence, the sd and pd interactions adjust positively and negatively the limits of conduction and valence bands (CB&VB), making a reduction of the band gap.

Fig. 6
figure 6

Energy band gap of undoped and various Fe-doped CuS thin films

Further, this energy reduction may be explained by the carrier concentration enhancement by Fe ions inclusion and the generation of energy level traps in the host matrix band gap [14]. Nonetheless, compared to TiO2, the CFS compound has the advantages, such as non-toxic, abundantly available in the earth's crust and also with a very low cost, and we have demonstrated that the absorption can tune to the visible region with varying Fe concentration. Consequently, this ternary material could principally be developed as an efficient absorber semiconductor to enhance the photocatalytic activity.

Optical absorption spectra and Lambert's law [58] allows the absorption coefficient α calculating of pure thin films CuS and CFS by the relation:

$$ {{\text{Ln}}\left( {\frac{I}{{I_{{0}} }}} \right) = {2}{\text{.303}}A = \alpha t} $$
(5)

with I0 is the incident light intensity, I is the transmitted light intensity, t is the film thickness and A is the optical absorbance.

Figure 7 shows the absorption coefficient as a function of photon energy of Covellite CuS and CFS thin films with different Fe contents. It has been noticed that for the visible spectral range of ( > 105 cm−1), all the films exhibits a high absorption coefficient. Figure 7 shows that the absorption coefficients rise from 1.155 × 105 to 1.712 × 105 cm−1. For comparison, the absorption coefficient of CuS was 1.155 × 105 cm−1, which is higher than the values obtained previously [59, 60]. There is no report accessible of absorption coefficient for Fe doped CuS. This extended absorption give opportunities to a possible photocatalytic activity enhancement with CFS thin films illuminate by solar irradiation.

Fig. 7
figure 7

Optical absorption coefficients of undoped and various Fe-doped CuS thin films

4 Photocatalysis properties analysis

It has been found that the band gap value 2.47 eV of CuS is wider than minimum band gap 1.23 eV required for the water splitting reactions, showing the ability of the use of CuS doped Fe for photocatlytic water splitting and hydrogen production using the solar spectrum and the visible light region. Figure 8 shows the different band gap of the CFS thin films according to doping levels, relative to water oxidation and reduction potential standard levels respecting the Normal Hydrogen Electrode (NHE). To produce hydrogen at ambient conditions, the minimum of the CB (maximum of the VB) should locate slower than the Hydrogen reduction potential (0 V vs NHE) and must be locates upper than the oxidation potential of O2/H2O. The valence and conduction bands edges position can be estimated by : EVB = ECB + Eg with ECB = XE0 – 0.5Eg [61] where EVB and ECB are the potential of the valence and conduction bands edges, respectively, E0 (~ 4.5 eV) is the energy of free electrons on the hydrogen scale, Eg is the band gap energy from our experimental results, and X is the Mulliken electronegativity of CuS and Cu1−xFexS (x = 0.01, 0.03, 0.05 and 0.07) which is calculated about 5.28, 5.28, 5.27, 5.26, and 5.26 eV, respectively; based on atomic ionization energies and electron affinities. We demonstrate that the band edge position is suitable for the water splitting for CuS and Fe doped CuS (Fig. 8), Reason that made from CFS a material with a strong photocatalytic potential. However, the redox potential of the water in the photocatalysis water splitting isdependent strongly on solutions pH value. For CuS and CFS the standard oxidation potentials O2/H2O and reduction potentials H+/H2 are given by [62]:

$$ E^{{{\text{ox}}}}_{{{\text{O}}_{{2}} {\text{/H}}_{{2}} {\text{O}}}} \left( {{\text{CuS}}} \right) \, = \, - 0.455 \, + \, 0.059 \, \times {\text{ pH eV}} $$
(6)
$$ E^{{{\text{red}}}}_{{{\text{H}}^{ + } {\text{/H}}_{{2}} }} \left( {{\text{CuS}}} \right) \, = \, 2.015 \, + \, 0 \, 059 \, \times {\text{ pH eV}} $$
(7)
$$ E^{{{\text{ox}}}}_{{{\text{O}}_{{2}} {\text{/H}}_{{2}} {\text{O}}}} {\text{CFS}}\left( {1{\text{ at}}\% } \right) \, = \, - 0.39 \, + \, 0.059 \, \times {\text{ pH eV}} $$
(8)
$$ E^{{{\text{red}}}}_{{{\text{H}}^{ + } {\text{/H}}_{{2}} }} {\text{CFS}}\left( {1{\text{ at}}\% } \right) \, = \, 1.95 \, + \, 0.059 \, \times {\text{ pH eV}} $$
(9)
$$ E^{{{\text{ox}}}}_{{{\text{O}}_{{2}} {\text{/H}}_{{2}} {\text{O}}}} {\text{CFS}}\left( {3{\text{ at}}\% } \right) \, = \, - 0.31 \, + \, 0.059 \, \times {\text{ pH eV}} $$
(10)
$$ E^{{{\text{red}}}}_{{{\text{H}}^{ + } {\text{/H}}_{{2}} }} {\text{CFS}}\left( {3{\text{ at}}\% } \right) \, = \, 1.85 \, + \, 0.059 \, \times {\text{ pH eV}} $$
(11)
$$ E^{{{\text{ox}}}}_{{{\text{O}}_{{2}} {\text{/H}}_{{2}} {\text{O}}}} {\text{CFS}}\left( {5{\text{ at}}\% } \right) \, = \, - 0.225 \, + \, 0.059 \, \times {\text{ pH eV}} $$
(12)
$$ E^{{{\text{red}}}}_{{{\text{H}}^{ + } {\text{/H}}_{{2}} }} {\text{CFS}}\left( {5{\text{ at}}\% } \right) \, = \, 1.765 \, + \, 0.059 \, \times {\text{ pH eV}} $$
(13)
$$ E^{{{\text{ox}}}}_{{{\text{O}}_{{2}} {\text{/H}}_{{2}} {\text{O}}}} {\text{CFS}}\left( {7{\text{ at}}\% } \right) \, = \, - 0.23 \, + \, 0.059 \, \times {\text{ pH eV}} $$
(14)
$$ E^{{{\text{red}}}}_{{{\text{H}}^{ + } {\text{/H}}_{{2}} }} {\text{CFS}}\left( {7{\text{ at}}\% } \right) \, = \, 1.75 \, + \, 0.059 \, \times {\text{ pH eV}} $$
(15)
Fig. 8
figure 8

Calculated band edge positions of undoped and various Fe-doped CuS thin films in comparison with water redox in pH = 0 solutions

According to the equations, by changing the pH of the solution we can shift the oxidation of water’s and reduction potentials, this induce a tune of the band edge alignment of CFS to be more appropriate to the O2/H2O and H+/H2 reduction-oxidation potential by adjusting the ratio between the oxidizing rate (recognized as the H+/H2 and the VB potential difference) and the reducing rate (recognized as the O2/H2O and the CB the potential difference), to be equal to 1. For instance, for CuS and CFS, we have showing in Fig. 9, the band position conditions for water splitting (VB positive than H+/H2 potential, plus CB negative than O2/H2O potential) are verified : from pH = 0 to 12 for CuS, from pH = 0 to 11 for CFS (x = 0.01), from pH = 0 to 9 for CFS (x = 0.03), from pH = 0 to 8 for CFS (x = 0.05), and for pH = 0 to 7 for CFS (x = 0.07), for pH = 3 solutions, oxidation potential and reduction potential move up to 0.18 V, making the oxidizing rate equal to the reducing one resulting a pleasing conditions for water splitting (Fig. 10), required criteria for a photocatalyst materiel for water splitting. By this analysis the CFS (x = 0.07) in a solution with pH = 3 could be a promising material for water splitting and both hydrogen-oxygen production. Nevertheless, the CFS (x = 0.01, 0.03, 0.05 and 0.07) compounds can be used with a pH solutions between 7 and 8 to produce hydrogen, by forming heterostructure between CuS and CFS, it can be seen from Table 1 that there is a strong quasi-lattice parameter agreement, result in à good structural tunability. Figure 11 shows the photogenerated electrons in the semiconductor with the greater CB (CuS with ECB = − 0.927 eV) migrate to the minimum energy conduction band which is that of the semiconductor (CFS (0.07) with ECB = − 0.702 eV), going through CFS (0.01) with ECB = − 0.862 eV, CFS (0.03) with ECB = − 0.782 eV, CFS (0.05) with ECB = − 0.697 eV. While the photogenerated holes with the lowest VB energy (CFS(0) with EVB = 1.543 eV) move to the semiconductor VB which having the highest VB energy (CFS (0.07) with EVB = 1.278 eV), going through CFS (1 at%) with EVB = 1.478 eV, CFS (0.03) with EVB = 1.378 eV, and CFS (0.05) with EVB = 1.293  eV, based on the position of the flat bands the semiconductors CuS and CFS create a straddling gap heterostructure type, which ameliorate the power of the reduction and oxidation in photocatalysis.

Fig. 9
figure 9

Calculated band edge positions of undoped and various Fe-doped CuS thin films in comparison with water redox in with variation of the pH solutions

Fig. 10
figure 10

Calculated band edge positions of CFS (7 at%) in comparison with water redox in with variation pH = 3 solutions

Fig. 11
figure 11

Representation of the straddling gap heterostructure present in a undoped and various Fe-doped CuS thin films heterostructure

The major reactions on the surface of the ideal photocatalyst semiconductor Cu1-xFexS (x = 0.07) can be described in Eq. (16), result in two fundamental steps for water splitting Eqs. (17, 18) for hydrogen and oxygen evolution.

$$ {\text{Cu}}_{0.93} {\text{Fe}}_{0.07} S + \, h\nu \, \to {\text{ Cu}}_{0.93} {\text{Fe}}_{0.07} S + \, e^{ - } + \, h^{ + } $$
(16)
$$ h^{ + } + {\text{ H}}_{{2}} {\text{O }} \to {^{.}\text{OH + H}}^{ + } $$
(17)
$$ e^{ - } + {\text{ O}}_{{2}} \to {\text{ O}}^{{2 - }} $$
(18)

5 Conclusions

In this work, we have studied in detail the structural and optical properties of CuS and Cu1−xFexS (CFS) (x = 0.01, 0.03, 0.05 and 0.07) thin film for photocatalysis a possible application, elaborated via the deposition technique Chemical Spray Pyrolysis (CSP). The XRD results demonstrated that the deposited thin films from a Covellite single phase CuS without formation of other phases. The lattice has a hexagonal structure with dimensions, a = b = 3.79 Ǻ and c = 16.34 Ǻ in accord with the reported lattice parameters. The grain sizes for the CuS and CFS films were in the span of 121–171 Å. The UV–Vis spectrum analysis revealed that the energy band gap was reduced from 2.47 to 1.98 eV and that the film absorption coefficients have improved from 1.155 × 105 to 1.712 × 105 cm-1. For Fe doped CuS, an accurate band gap and band edge alignment with right pH value boosts the applicability of the material as a photocatalyst for visible light. According to this study, CFS (x = 0.07) thin films in pH = 3 solutions is a promising material for photocatalysis application for water splitting to hydrogen–oxygen production. Nevertheless, we demonstrate that the formation of straddling gap heterostructure for CuS and CFS in pH solution between 7 and 8 induce the production of oxygen and hydrogen.