Input (grade 13): The star then evolves into a degenerate form, recycling a portion of the matter into the interstellar environment, where it will form a new generation of stars with a higher proportion of heavy elements.
Output (grade 8): The star then evolves into a degenerate form, putting out a portion of its matter into space. There it forms a new generation of stars with a higher proportion of heavy elements.