Discovery could help us better understand space weather, which has potentially disastrous effects on human civilisation