A Star is Born.

 

A huge cloud of dust, ice and gas(hydrogen and helium), called a nebula begins to collapse due to its own gravity.

As it gets smaller the 'protostar' gets hotter and hotter.

Eventually the centre gets white hot and nuclear fusion begins.

The pressure due to the heat and radiation balances the pull of gravity and further collapse is stopped for now. A star is born.