Stellar Evolution
In a star's core four hydrogen nuclei fuse into one helium, and a fraction of the mass becomes the energy that makes the star shine. On the H-R diagram most stars lie on the main sequence; more massive stars are brighter but live shorter lives. Sun-like and massive stars follow different evolutionary tracks and endings (white dwarf, neutron star or black hole, and so on). Here you can move the stellar-mass slider and see how evolutionary tracks diverge on the H-R diagram.