The enzyme operates through a redox reaction. It uses molecular oxygen as an electron acceptor to oxidize beta-D-glucose into gluconic acid. During this process, oxygen is reduced to hydrogen peroxide. The reaction mechanism can be summarized as follows: \[ \text{C}_6\text{H}_{12}\text{O}_6 + \text{O}_2 \rightarrow \text{C}_6\text{H}_{12}\text{O}_7 + \text{H}_2\text{O}_2 \]