What celestial role defines stars regarding the creation of heavier elements in the universe?

Answer

Primary element factories

Stars function as the universe's main element factories, forging virtually every element heavier than lithium within their cores or scattering them across the cosmos during their explosive deaths.

What celestial role defines stars regarding the creation of heavier elements in the universe?
astronomystellarstarstellar periodperiod