Which statement about stars is correct?

A. Star formation begins in a nebula.

B. White dwarfs become main-sequence stars when they gain mass.

C. Supergiants are stars that can absorb black holes.

D. Main-sequence stars are formed by comets.

A. Star formation begins in a nebula.