In the current study, an onboard dry cell electrolyzer was built to produce an oxyhydrogen (HHO) flow rate of 0.5 L/min by water electrolysis. The objective is to show the impact of oxyhydrogen introduction on engine exhaust gases, combustion characteristics, and engine performance related to gasoline. The experiments were carried out in a petrol engine at a fixed engine speed of 3000 rpm and variable engine loading. When comparing HHO gasoline dual fuel to standard gasoline fuel, the maximum improvements in volumetric efficiency, thermal efficiency and air-fuel ratio were determined as 7.5%, 8% and 11%, respectively. In the case of HHO addition, the highest reductions in specific fuel consumption and exhaust gas temperature were 9% and 6.5%, respectively, compared with conventional gasoline fuel. The highest reduction in CO, HC, NOx, and CO2 concentrations was observed as 18%, 9%, 15%, and 11%, respectively, for HHO-gasoline dual-fuel mode compared to gasoline fuel. The peak cylinder pressure and HRR improvements were 1.5% and 4.5%, respectively, at 100% engine load. Oxyhydrogen gas is highly recommended as a substitute fuel since it significantly enhances engine performance and combustion characteristics as well as reducing exhaust pollutants.