BN co-doped carbons enhance ORR activity with the 4-electron pathway due to the formation of B–N–C bonds.