The Sun has been shining for about 4.6 billion years and it will continue to shine for about 5 billion more years.