Behavior of ions in electrolytes in water