The dust and gas can start to collapse together under the force of gravity
When the mass of dust and gas collects together and becomes larger, the force of gravity pulling inward increases
When this force gets larger, the pressure inside the new star also gets larger
The high pressure causes heat
The heat can cause atoms to react with each other, causing the new star to give out heat and light
Some of the young stars are only half mass of the Sun and not reaching the full brightness yet
The light from the stars lights up the dust and gas in the cloud