Oxygen activation, including oxygen reduction reaction (ORR) and oxygen evolution reaction (OER), is at the heart of many important energy conversion processes. However, the activation mechanism of Ba-containing perovskite materials is still ambiguous, because of the complex four-electron transfer process on the gas-solid interfaces. Here, we directly observe that BaO and BaO
2
segregated on Ba-containing material surface participate in the oxygen activation process via the formation and decomposition of BaO
2
. Tens of times of increase in catalytic activities was achieved by introducing barium oxides in the traditional perovskite and inert Au electrodes, indicating that barium oxides are critical for oxygen activation. We find that BaO and BaO
2
are more active than the B-site of perovskite for ORR and OER, respectively, and closely related to the high activity of Ba-containing perovskite.