Structural behaviour of ionic liquids