How can the evolution of a star over its life cycle be tracked using an H-R diagram? Use a specific example of a category of star.