The invention relates to pyrrole ring-containing boron-doped polycyclic aromatic hydrocarbon as well as a synthesis method and application thereof, and tests of photoelectric physical properties and CV are carried out on the pyrrole ring-containing boron-doped polycyclic aromatic hydrocarbon so as to further research the potential application value of the organic material in the aspect of organic electrochemistry. The structural formula of the compound is as follows: Ra and Rb are respectively and independently hydrogen, deuterium, alkyl, alkoxy, naphthenic base, ether, heterocyclic group, phenyl, aryloxy, halogen, cyano or a combination of the hydrogen, deuterium, alkyl, alkoxy, naphthenic base, ether, heterocyclic group, phenyl, aryloxy, halogen and cyano; rc may be hydrogen, deuterium, alkyl, alkoxy, cycloalkyl, ether, heterocyclic aryl, phenyl, aryloxy, or a combination thereof; ar is a benzene ring, a thiophene ring, a furan ring, a pyrrole ring, a pyridine ring, benzothiophene, benzofuran, benzopyrrole, benzopyridine, a naphthalene ring, an anthracene ring, phenalene, carbazolyl, pyrazinyl, triphenyl, tetraphenyl, pyrene, linear or angular pentacene, hexacene, indene and fluorene; m is an integer of 0-5; and n is an integer of 0-3.