An ionic liquid (IL) is a salt in the liquid state. In some contexts, the term has been restricted t…