The correct option is D 1 and 4 only
Nebulae are massive clouds mainly consisting of hydrogen, helium, and dust particles. Due to the gravity between the constituents, they come closer resulting in an increase in pressure and temperature.
Thus, a spherical-shaped mass is slowly formed that becomes a star, with time.