“…Recently, ILs and poly (ionic liquids), PILs, that contain imidazolium, pyridinium, and quaternary ammonium cations having a low melting point, non-flammability, and higher thermal stability were used as green oilfield chemicals in the petroleum industry [ 19 , 20 , 21 , 22 , 23 , 24 ]. ILs formulations are based on amines, block copolymers, and hydrophobic ILs (1,5-dicarboxy-pentane-2-ammonium, pyridinium, isoquinolinium, imidazolium, ammonium and ammonium carboxymethane, and an anion selected from the group consisting of R 5 COO − , Cl − , Br − , [BF 4 ] − , [PF 6 ] − , [SbF 6 ] − , [R 6 SO 4 ] − , [OTs] − , [OMs]) that are used to demulsify, dehydrate, and desalt the crude oil [ 25 ].…”