Can you give me a tl;dr of the following article? 

For the first time, scientists have caught a star in the act of swallowing a planet — not just a nibble or bite, but one big gulp.

Astronomers on Wednesday reported their observations of what appeared to be a gas giant around the size of Jupiter or bigger being eaten by its star. The sun-like star had been puffing up with old age for eons and finally got so big that it engulfed the close-orbiting planet.

It’s a gloomy preview of what will happen to Earth when our sun morphs into a red giant and gobbles the four inner planets.

“If it’s any consolation, this will happen in about 5 billion years,” said co-author Morgan MacLeod of the Harvard-Smithsonian Center for Astrophysics.
Scientists were able to capture a star devouring a planet. The star increased in size due to old age and swallowed the nearby planet. The same will happen to Earth in 5 billion years when the sun does the same thing.