It turns out that the moon isn't the only celestial body with a spooky side.

Ahead of this year's Halloween celebrations, NASA recently took to Facebook to re-share a photo from October 8, 2014 of a creepy jack-o'-lantern face created by a serendipitous arrangement of active regions in the sun.

"Even our star celebrates the spooky season," the government agency wrote alongside the photo its Solar Dynamics Observatory satellite captured in ultraviolet light.

The active regions in the sinister-looking image appear brighter because those are areas that emit more light and energy, NASA explained on its website. "They are markers of an intense and complex set of magnetic fields hovering in the sun's atmosphere, the corona."

The image blends two sets of extreme ultraviolet wavelengths, typically colorized in gold and yellow, to create a "particularly Halloween-like appearance." You can see more colorized photos of the bizarre sunspot formation here.

NASA's Solar Dynamics Observatory, or SDO, has been studying the sun's effects on the Earth since February 2010. But maybe they should consider that it's the other way around?

Happy Halloween, y'all!