The Life Cycle of a Star From nebula to protostar, through the main sequence to red giant before ending as a…