candidate: As the Sun rotates , its magnetic field twists into a Parker spiral , The spiral nature of the heliospheric magnetic field had been noted earlier by Hannes Alfvén , based on the structure of comet tails .