S-type star are two distinct classes of S-type stars: intrinsic S stars; and extrinsic S stars. The presence of Technetium is used to distinguish the two classes, only being found in the intrinsic S-type stars. Intrinsic S-type stars are thermal pulsing asymptotic giant branch (TP-AGB) stars. AGB stars have inert carbon-oxygen cores and undergo fusion both in an inner helium shell and an outer hydrogen shell. They are large cool M class giants. The thermal pulses, created by flashes from the helium shell, cause strong convection within the upper layers of the star. These pulses become stronger as the star evolves and
Red-giant branch core becomes degenerate. The core still supports its own weight thermodynamically with the help of energy from the hydrogen shell, but is no longer in thermal equilibrium. It shrinks and heats causing the hydrogen shell to become thinner and the stellar envelope to inflate. This combination decreases luminosity as the star cools towards the foot of the RGB. Before the core becomes degenerate, the outer hydrogen envelope becomes opaque which causes the star to stop cooling, increases the rate of fusion in the shell, and the star has entered the RGB. In these stars, the subgiant phase occurs within a