The ammonium ionic liquid is a compound in which hydrogen atoms in the ammonium ion are substituted by alkyl groups, and its general formula is R4NX, and the four alkyl groups may be the same or different groups. X may represent a halogen anion (F-, Cl-, Br-, I-), or an acid ion (RCOO-, HSO4-).