ExploraTour - How to Build a Star
The sun uses the weight of layer upon layer of gas crushing down on its central core to both create the temperatures and pressures needed for fusion to occur and to keep the hot plasma from escaping.
In fact mass is so important in making a star that we will spend some time lingering over the question of just how massive stars can be.