In about 5.5 billion years the Sun will run out of hydrogen and begin expanding as it burns helium. It will swap from being a yellow giant to a red giant, expanding beyond the orbit of Mars and vaporizing Earth—including the atoms that make-up you.
What year will the Sun die?
The Sun is about 4.6 billion years old – gauged on the age of other objects in the Solar System that formed around the same time. Based on observations of other stars, astronomers predict it will reach the end of its life in about another 10 billion years.
What will happen if the Sun burns out?
Our star will grow to be larger than we can imagine — so large that it'll envelope the inner planets, including Earth. That's when the sun will become a red giant. For about a billion years, the sun will burn as a red giant. ... "When a star dies, it ejects a mass of gas and dust — known as its envelope — into space.