Stellar evolution is the study of how a star changes over time. Stars can change very much between when they are first created and when they run out of energy. Because stars can produce light and heat for millions or billions of years, scientists study stellar evolution by studying many different stars in different stages of their life.