Synthesis of some novel compounds derived from heterocyclic ring and evaluation of their biological activity