Which of the following happens when a low - mass star runs out of fuel ? Choose all that apply.

a its core becomes a white dwarf

b its outer layers form a nebula , or vast cloud of gas and dust

c its outer layers expand , and the star becomes a red giant

d. gas and dust in a nebula contract to form a protostar