NASA has delivered a treat just in time for Halloween.

The image of the sun that looks like a grinning Jack-o'-Lantern was captured on Oct. 8 by NASA's Solar Dynamics Observatory.

NASA says the brighter spots are the more active regions of the sun.