Insights gained by scientists while studying the R Doradus giant star could be applicable to other dying stars.