What is the life cycle of a star?