A series of N-(3-cyano-4,6-diphenylpyridin-2-yl)heteroaryl-4-carboxamide derivatives were synthesized using nitrogen containing heterocycles. The chemistry of the reactions employed in the synthesis of the target compounds along with biological properties is discussed in this research work. The synthesized compounds were satisfactorily characterized by IR, 1HNMR and 13CNMR spectroscopy. Five synthesized compounds (6a-e) were tested for in vitro anticancer activity against MCF-7 cell line. The in vitro activity was based upon MTT assay method. The anticancer activity results showed that, among the tested compounds, compound 6d was found to be most active with IC50 value 10 µg whereas compound 6e was moderately active with IC50 value 30 µg against the MCF-7 cell line.