Eruptive events on the sun can be wildly different. Some come just with a solar flare, some with an additional ejection of solar material called a coronal mass ejection (CME), and some with complex moving structures in association with changes in magnetic field lines that loop up into the sun's atmosphere, the corona.
On July 19, 2012, an eruption occurred on the sun that produced all three. A moderately powerful solar flare exploded on the sun's lower right hand limb, sending out light and radiation. Next came a CME, which shot off to the right out into space. And then, the sun treated viewers to one of its dazzling magnetic displays -- a phenomenon known as coronal rain.