ZnO and Al-doped ZnO (AZO) thin films were prepared using the sol–gel method and deposited on a Silicon (Si(100)) substrate using the dipping technique. The structure, morphology, thickness, optical constants in the spectral range 300–1700 nm, bandgap (Eg) and photoluminescence (PL) properties of the films were analyzed using X-ray diffractometry (XRD), X-ray fluorescence (XRF), atomic force microscopy (AFM), scanning electron microscopy (SEM), spectroscopic ellipsometry (SE), Raman analysis and PL spectroscopy. The results of the structure and morphology analyses showed that the thin films are polycrystalline with a hexagonal wurtzite structure, as well as continuous and homogeneous. The PL background and broader peaks observable in the Raman spectra of the AZO film and the slight increase in the optical band gap of the AZO thin film, compared to undoped ZnO, highlight the effect of defects introduced into the ZnO lattice and an increase in the charge carrier density in the AZO film. The PL emission spectra of the AZO thin film showed a strong UV line corresponding to near-band-edge ZnO emission along with weak green and red emission bands due to deep-level defects, attributed to the oxygen-occupied zinc vacancies (OZnlattice defects).