The use of natural and environment-friendly energy sources for the betterment of the living society has become an active concern in both government and public sectors. Due to this, responsible use of global resources has become a growing concern among people. Similarly, in the chemical industry especially in pharmaceutical fields, there is constant pressure in reducing hazardous organic solvents and environmentally detrimental laboratory materials. The use of ionic liquids for the efficient synthesis of a wide array of fundamentally important structural motifs has gained tremendous importance in the scientific era. In this review, the synthesis of two such medicinally relevant moieties, namely, triazole and pyrazole, in green and sustainable ionic liquid have been discussed.