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
Ice giant by extreme ultraviolet (EUV) radiation emitted by θ Orionis C suggests another possible mechanism for the formation of ice giants. Multiple-Jupiter-mass gas-giant protoplanets could have rapidly formed due to disk instability before having the majority of their hydrogen envelopes stripped off by intense EUV radiation from a nearby massive star. In the Carina Nebula, EUV fluxes are approximately 100 times higher than in Trapezium's Orion Nebula. Protoplanetary disks are present in both nebulae. Higher EUV fluxes make this an even more likely possibility for ice-giant formation. The stronger EUV would increase the removal of the gas envelopes from the protoplanets