As the hydrogen in the core gets depleted and becomes  helium, the
core starts to cool The star begins to collapse under its own gravity which
increases the temperature of the core If this temperature increases to about
108 K, fusion takes place again, this time of helium nuclei into carbon This kind of process can generate through fusion higher and higher mass
number elements