The present disclosure provides a
nitrogen-containing
heterocyclic compound having a general formula (I) and an organic photoelectric apparatus thereof. The general formula (I) is:wherein A1, A2, A3, A4, A5, A6, A7, A8, A9, and A10 are independently selected from a
hydrogen atom, a
nitrile group and a
function group having a general formula (II), and A1, A2, A3, A4, A5, A6, A7, A8, A9, and A10 include at least one
nitrile group and at least one
function group having the general formula (II),the general formula (II) being:wherein R1, R2, R3, R4, R5, R6, R7, and R8 are independently selected from
hydrogen atoms,
deuterium atoms, C6-30 aromatic group and C2-30 heterocyclic aromatic group.