Red giant brightness so common on both types of stars. Red giants are evolved from main-sequence stars with masses in the range from about to around . When a star initially forms from a collapsing molecular cloud in the interstellar medium, it contains primarily hydrogen and helium, with trace amounts of "metals" (in stellar structure, this simply refers to "any" element that is not hydrogen or helium i.e. atomic number greater than 2). These elements are all uniformly mixed throughout the star. The star reaches the main sequence when the core reaches a temperature high enough to begin fusing hydrogen (a few
Red giant temperature and pressure are adequate to cause fusion to resume in a shell around the core. The outer layers of the star then expand greatly, thus beginning the red-giant phase of the star's life. As the star expands, the energy produced in the burning shell of the star is spread over a much larger surface area, resulting in a lower surface temperature and a shift in the star's visible light output towards the red—hence it becomes a "red giant". At this time, the star is said to be ascending the red-giant branch of the Hertzsprung–Russell (H–R) diagram. The evolutionary path