Planets are eaten by dying stars as they turn into red giants and expand. Earth will be eaten by the sun in billions of years