Scientists have watched a planet being eaten by a star for the first time – and it will eventually happen to the Earth. Researchers have seen stars just before or after they eat entire planets whole.