Owing to its wide band gap, cadmium sulfide film is an effective material for coating on windows when it is used with copper–indium–gallium–diselenide film. Optimizing the annealing temperature and holding time can greatly improve the composition and optical and electrical properties of cadmium sulfide film. Studies of the photoluminescence peak intensity with both a low band gap and a high band gap reveal that a higher S/Cd ratio corresponds to higher crystalline quality. This investigation analyzed two bands in the photoluminescence spectrum – one localized at 2.35–2.51eV and the other at 1.81–1.86eV. A cadmium sulfide sample with a highly crystalline structure was obtained by annealing at 100°C for 20min. The sheet carrier concentration, mobility, band gap, S/Cd ratio, and sheet resistance of the cadmium sulfide sample are −4.56×1016cm−2, 20.5cm2/Vs, 2.412eV, 0.99, and 6.67Ω/cm2, respectively. Analysis of a performance of the obtained solar cell under standard air mass 1.5 global illumination revealed a conversion efficiency of 2.392%.