How does the lifespan of a massive star compare to the Sun's lifespan?

Answer

Massive stars live fast, burning fuel in millions of years compared to the Sun's ten billion years

Massive stars consume their fuel much faster due to the vastly higher temperatures and pressures required to resist their intensified gravitational crush, resulting in a much shorter overall lifespan.

How does the lifespan of a massive star compare to the Sun's lifespan?
Corestarmassive