What fundamentally determines the lifespan of a star?

Answer

Initial mass

The lifespan of a star is fundamentally determined not by its age, but by its initial mass. Higher mass stars live shorter, more spectacular lives.

What fundamentally determines the lifespan of a star?
astronomylife expectancystarmassive star