
The five membered cyclic imide derivatives were synthesized by reacting succinic anhydride with different substituted aromatic amines to get 1-(N-methylpyridin-2-yl)pyrrolidine-2,5-dione.The six membered cyclic imide derivatives were synthesized by reacting glutaric anhydride with different substituted aromatic amines to get 1-(N-methylpyridin-2-yl) piperidine-2,6-dione. All these derivatives were screened for antimicrobial activities.