We investigated at the optical properties, structural makeup, and morphology of thin films of cadmium telluride (CdTe) with a thickness of 150 nm produced by thermal evaporation over glass. The X-ray diffraction study showed that the films had a crystalline composition, a cubic structure, and a preference for grain formation along the (111) crystallographic direction. The outcomes of the inquiry were used to determine these traits. With the use of thin films of CdTe that were doped with Ag at a concentration of 0.5%, the crystallization orientations of pure CdTe (23.58, 39.02, and 46.22) and CdTe:Ag were both determined by X-ray diffraction. orientations (23.72, 39.21, 46.40) For samples that were pure and those that were doped with silver, the optical band gap shrank by (1.52-1.47) eV (400–1100)nm resulting in a drop in the absorption coefficient. An incident power density of (100 mW/cm2) was used to examine the I-V properties of heterojunctions created by light on a variety of clean and doped materials. In accordance with the X-ray diffraction analysis, the films had a cubic structure and dominated grain growth along the (111) crystallographic direction.