White dwarf
Stars far more massive than the sun evolve in more complex ways. In the core of the star, hydrogen is fused into helium, releasing thermal energy that heats the sun's core and provides outward pressure that supports the sun's layers against collapse in a process known as stellar or hydrostatic equilibrium. The helium produced in the core accumulates there since temperatures in the core are not yet high enough to cause it to fuse. Eventually, as the hydrogen at the core is exhausted, fusion starts to slow down, and gravity causes the core to contract. This contraction raises the temperature high enough to initiate a shorter phase of helium fusion, which accounts for less than 10% of the star's total lifetime. In stars with fewer than eight solar masses, the carbon produced by helium fusion does not fuse, and the star gradually cools to become a white dwarf. White dwarf stars, if they have a near companion, may then become Type Ia supernovae.