Energy radiated from the surface of a protostar which is inreturn is replaced by energy released through gravitational contraction.
This keeps a protostar in thermal equilibrium
hope it helps
9.4m questions
12.2m answers