Scientists are using images of the sun to understand the many phenomena that can disastrously impact Earth