Synthesis of Biologically Active Heterocycles