“…Different doping in ZnO (i.e., Mg) can adjust bandgap to make UV photodetectors in different UV region. There were several reports focused on efforts to control the properties of ZnO by adding the transition metal impurities such as Al [3,4], Cu [5], Co [6], In [7], and Mg [3,8] Doping work to control and adjust the band gap, which greatly contribute to increase the efficiency and power, and in many applications, such as Light-emitting diodes [9], laser diodes [10], solar cells, transparent electrodes, thin film transistors and optical sensors [3,11]. The ZnO sensing mechanism is highly correlated with surface reactions hence; oxygen absorption, grain size, defects, and other parameters have an important effect in controlling the sensing response.…”