ZIF-67 was carbonized into Co3O4@N-doped C . The materials after carbonization were used as electroactive material for electrode fabrication. Co3O4@N-doped C electrode offered a specific capacitance of 709 F/g at 1 A/g . It can be also used as a co-catalyst to enhance the photocatalytic water splitting of semiconductor TiO2 . ZnO@C was prepared via carbonization of ZIF-8 . It was used as a supercapacitor . ZIF-8 was used to prepare a ZnO@C photocatalyst that can degrade dyes . ZnO@C can be also used as an efficient catalyst for methanol dehydration forming dimethyl ether that can be used as energy fuel .