An optical analysis was conducted on a Gallium nitride (GaN) thin film grown on a quartz substrate using the physical vapor deposition technique (PVD), specifically, pulsed laser deposition (PLD). The film was grown using different laser wavelengths (1064, 532, and 355) nm from a Q-switch neodymium-doped yttrium aluminum garnet (Nd: YAG) laser, all performed under a vacuum pressure of 10-2 m bar. The absorption coefficient of the GaN thin film was determined by performing UV-Vis diffused spectroscopy at room temperature and measuring wavelengths ranging from 200 to 1000 nm. The absorption peak occurs at 227 nm when the wavelength is 1064 nm, at 217 nm when the wavelength is 532 nm, and at 222 nm when the wavelength is 355 nm. The optical energy gap is a crucial statistic for analyzing the properties of thin films and assessing their potential as gas sensors. The value of the direct energy gap (Eg) for the prepared films was established by analyzing the graph that shows the relationship between (α h) and the energy gap (ev) values at different wavelengths. The energy values were determined to be 3.36 eV, 3.62 eV, and 3.7 eV for 1064, 532, and 355 nm wavelengths, respectively.