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
S-type star difficult for a red giant to have other s-process elements in its atmosphere without technetium. S-type stars without technetium form by the transfer of technetium-rich matter, as well as other dredged-up elements, from an intrinsic S star in a binary system onto a smaller less-evolved companion. After a few hundred thousand years, the Tc will have decayed and a technetium-free star enriched with carbon and other s-process elements will remain. When this star is, or becomes, a G or K type red giant, it will be classified as a Barium star. When it evolves to temperatures cool enough for ZrO