The invention develops a method, which adopts cheap and easily-available raw materials, is free of a noble metal catalyst, is simple and convenient to operate, gentle in reaction condition, low in production cost, high in yield and convenient for commercialization, for synthesizing pyridine and carbazole-series compounds by virtue of a one-step process, relates to the field of organic electroluminescence materials, and particularly relates to a material synthesized by virtue of the one-step process and provided with bipolar carrier transmission performance as well as an application of the material as an electroluminescent phosphor to the electroluminescence field. The material provided with the bipolar carrier transmission performance not only contains a carbazole unit with hole transport performance, but also contains a pyridine unit with electron transport performance; and the compounds are 2,4-dicarbazolyl pyridine, 2,3- dicarbazolyl pyridine, 2,3,5,6-tetracarbazolyl pyridine and 2, 3, 4, 6- tetracarbazolyl pyridine respectively.