Chemical investigation of selected medicinal plants and synthetic studies involving nitrogen heterocycles