Earth will eventually be destroyed when the Sun dies around five billion years from now, according to new research.