AlGaN/GaN heterostructure high electron mobility transistors (HEMTs) based on HT-GaN/LT-AlGaN/HT-GaN structure by metal-organic vapor phase epitaxy have been investigated and compared with the standard HEMT. The new configuration outperformed the one without in several aspects, exhibiting higher drain current and breakdown field, lower gate and buffer leakage current, and larger two-dimensional electron gas concentration and transconductance. This provide a simple method to grow high quality epitaxial GaN for high-stress, low-noise, high-frequency, and high-power HEMT applications. In the meanwhile, larger photoresponsivity can be achieved due to the enhanced electric field strength by utilizing such a structure to the application in metal-semiconductor-metal photodetectors. This structure combine the optoelectronic and electronic devices to realize the goal of optoelectronic integrated circuits (OEIC).