In a closed system, energy in form of heat (work) can be exchanged but not matter.
The answer to your question is C.
Hope it helped!
Planetary Nebula are the outer layers of a star that are lost when the star changes from a red giant to a white dwarf. A star is a luminous globe of gas producing its own heat and light by nuclear reactions (nuclear fusion). They are born from nebulae and consist mostly of hydrogen and helium gas.
Is this what you needed?