A star at the end of its life-cycle, composed of mostly carbon, is a
A. nova.
B. giant.
C. red dwarf.
D. white dwarf.