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
Gas giant and was originally used to refer to all giant planets. It is, arguably, something of a misnomer because throughout most of the volume of all giant planets, the pressure is so high that matter is not in gaseous form. Other than solids in the core and the upper layers of the atmosphere, all matter is above the , where there is no distinction between liquids and gases. The term has nevertheless caught on, because planetary scientists typically use "rock", "gas", and "ice" as shorthands for classes of elements and compounds commonly found as planetary constituents, irrespective of what phase the