It all comes down to fuel consumption and gravity.
* Fuel: Stars are powered by nuclear fusion, converting hydrogen into helium. The rate of this fusion is directly related to a star's core temperature and pressure.
* Gravity: A star's own gravity pulls inward, trying to crush it. The outward pressure from nuclear fusion counteracts this collapse.
Here's how it plays out for different sized stars:
* Large Stars:
* High Fuel Consumption: Massive stars have extremely hot and dense cores. This leads to incredibly rapid fusion rates. They burn through their hydrogen fuel much faster.
* Stronger Gravity: The immense mass of large stars exerts a powerful gravitational pull, demanding a correspondingly strong outward pressure from fusion to maintain stability.
* Short Lifetime: The combination of rapid fuel consumption and the need for high fusion rates to combat gravity means large stars live short, spectacular lives, often ending in supernova explosions.
* Small Stars:
* Low Fuel Consumption: Smaller stars have cooler, less dense cores. This leads to much slower fusion rates. They conserve their hydrogen fuel.
* Weaker Gravity: Their lower mass means their gravitational pull is weaker, requiring less intense fusion to maintain equilibrium.
* Long Lifetime: The slow burn and lower energy needs allow small stars to live for billions or even trillions of years. They are the "marathon runners" of the stellar universe.
An Analogy: Think of a bonfire versus a candle. The bonfire burns brightly but quickly, consuming a lot of wood. The candle burns much slower, lasting for hours because it uses its wax fuel more efficiently.
In summary: The size of a star determines its core temperature, pressure, and fusion rate. This, in turn, dictates how fast it burns through its fuel and ultimately, how long it lives.