The aurora you saw at the beginning of the topic was caused by a great burst of rays from the Sun.
This video shows that burst and how it travels through space. You then see how it causes auroras when it collides with the Earth...