Heterocyclic compounds are the largest subgroup of organic compunds that have one or more heteroatoms in their ring structure. These compounds are widely used in industry and medicine, which are mainly used in pharmaceuticals, agricultural chemicals and as veterinary products. They also have applications as disinfectants, antioxidants, corrosion inhibitors and are used as a precursor for the synthesis of other organic compounds. For this reason, in recent years, in order to improve the quality of life of human societies, their synthesis has been of great interest.