I am a doctoral student in Space Physics working at the University of Helsinki, Finland. My research focusses on coronal mass ejections (CMEs), that are huge explosions of plasma and magnetic field regularly expelled from the Sun. CMEs are the major drivers of magnetic storms and space weather phenomena at Earth, with northern lights being the only visual effect of such disturbances. The ability of a CME to trigger magnetic storms on our planet depends largely on the structure of its magnetic field. I study multiwavelength data of the solar disc from a large set of satellites and ground-based observatories in order to determine the magnetic structure of CMEs when they leave from the Sun. I then compare the magnetic structure derived from solar observations to the resulting structures in situ, which means at the location of satellites that are spread around the Solar System. My main focus is Earth, but I am also interested in observations of CMEs on other planets.