The chemical states of the elements present in the samples are studied by XPS (as shown in Fig.3). In the full spectrum shown in Fig.3(a), all elements of pure CdS and ZnCo
2O
4 can be observed in the composite sample ZCOCS. Fig.3(b–f) further show the high-resolution XPS spectra of Cd 3d, S 2p, Zn 2p, O 1s, and Co 2p. As shown in Fig.3(b), in the Cd 3d XPS spectrum of CdS, the peaks with binding energies of 404.15 and 410.90 eV correspond to Cd 3d
5/2 and Cd 3d
3/2, respectively [
34]. In addition, the binding energies of 160.01 and 161.19 eV correspond to S 2p
3/2 and S 2p
1/2, respectively (Fig.3(c)) [
35]. Clearly, with the addition of ZnCo
2O
4, the peaks of elements Cd and S move in the direction of a large binding energy. Fig.3(d) and Fig.3(e) show high-resolution XPS spectra of O and Zn. For Zn, the peaks are Zn 2p
3/2 (1020.92 eV) and Zn 2p
1/2 (1044.13 eV) [
36]. The binding energy at 529.78 eV belongs to the Co–O bond [
37]. In addition, the peaks at 531.62 and 533.19 eV are attributed to the surface hydroxyl groups and the O–H species absorbed water on the surface, respectively [
38,
39]. Moreover, the high-resolution XPS spectrum of Co (Fig.3(f)) presents two sets of double peaks in the spin orbit and two satellite peaks. The first group comprises the binding energies of 779.91 and 781.28 eV, and the second group comprises 794.63 and 796.06 eV, which belong to Co 2p
3/2 and Co 2p
1/2, respectively. The binding energies of 779.91 and 794.63 eV belong to Co
3+, while those of 781.28 and 796.06 eV belong to Co
2+ [
38,
40,
41]. The satellite peaks are located at 787.85 and 804.49 eV respectively. Compared to pure CdS and pure ZnCo
2O
4, the binding energy of each element in the composite sample ZCOCS shifts in varying degrees, which indicates the presence of an interaction force between CdS and ZnCo
2O
4.