NASA's Solar Dynamics Observatory captured images of an X-class flare, the most intense category of flares, on the sun.