The tremendous heat given off by the nuclear fusion process causes the gas to glow creating a protostar. This is the first step in the evolution of a star. The glowing protostar continues to accumulate mass.
hope this helps ^^
Ecosystem: a biological community of interacting organisms and their physical environment.