Is there any death more beautiful than a star's? They form colorful, glowing nebulae, they explode into supernovas, and sometimes they get torn apart by black holes.

You can see an animation approximating that last event in the video above, courtesy of NASA. In a paper published Wednesday in Nature, researchers reported evidence of an event called a "tidal disruption," observed using X-ray telescopes. Basically, when a star comes too close to a black hole, the massive gravity of the latter pulls the former apart. In this case, the black hole in question had a mass a few million times greater than that of our sun.

“We have seen evidence for a handful of tidal disruptions over the years and have developed a lot of ideas of what goes on,” lead study author Jon Miller of the University of Michigan said in a statement. “This one is the best chance we have had so far to really understand what happens when a black hole shreds a star.”

Here's what we're seeing: The gravity of the black hole pulls most of the star's material down in a filament, heating it to millions of degrees and creating an X-ray flare that astronomers are able to catch via telescopes, such as NASA's Chandra X-ray Observatory. But then something interesting happens: As the material falls into the black hole's event horizon — from which no light can escape — this flare disappears. So it appears to form a hot, smooth disk as the gaseous star remnants orbit the point at which the black hole will overtake them. Because the center of the disk is so hot, it expels some of its material outward as wind.

The tidal disruption event they observed — known as ASASSN-14li — occurred about 290 million light years away from Earth. But it's still the closest tidal disruption seen in a decade, according to NASA.

22 stunning photos of our solar system and beyond in 2016

In this undated photo provided by NASA, Saturn's icy moon Mimas is dwarfed by the planet's enormous rings. Consider it a cosmic carousel with countless rings up for grabs. NASA’s Saturn-orbiting spacecraft, Cassini, has begun an unprecedented mission to skim the planet’s rings. On Tuesday, Nov. 29, 2016, Cassini got a gravitational assist from Saturn’s big moon Titan. That put the spacecraft on course to graze Saturn’s main outer rings. (NASA/JPL-Caltech/Space Science Institute via AP) (AP)

Read More: