Stars are born, they live, and they die. The sun is no different, and when it goes, the Earth goes with it. But our planet won’t go quietly into the night. Rather, when the sun expands into a red giant during the throes of death, it will vaporize the Earth.
http://www.livescience.com/32879-what-happens-to-earth-when-sun-dies.html