* Higher Gravity: Massive stars have much stronger gravitational pull. This pulls the star's matter inward, creating immense pressure and heat in the core.
* Nuclear Fusion: This intense pressure and heat trigger nuclear fusion reactions at a much faster rate in massive stars. They fuse hydrogen into helium and other elements, releasing tremendous amounts of energy.
* Luminosity: The higher fusion rate leads to significantly higher luminosity (energy output).
* Surface Temperature: Since a large amount of energy is being produced, the star's surface temperature rises dramatically.
Key Points to Remember:
* Relationship is Not Linear: While there's a clear correlation, it's not a perfectly linear relationship. There are other factors that affect a star's temperature, including its age and chemical composition.
* Exceptions: Some stars with unusual compositions or evolutionary stages can be surprisingly hot despite not being very massive.
In summary: Massive stars are generally the hottest due to their strong gravity, rapid nuclear fusion, and high energy output.