Understanding structures and hydrogen bonds of ionic liquids at the electronic level.