Stars are formed when gas clouds of lighter elements contract under gravity. Gravity then fuses elements together, primarily through turning Hydrogen into Helium via nuclear fusion.
Turn off gravity and the night sky would be dark.
Hi rb22, good question. In our galaxy and other galaxies there are huge clouds made of gas and fine dust. most of these clouds are quite stable, but sometimes something gives them a ‘shake’. Sometimes this shaking can come from an exploding star called a supernova. This ‘shaking’ causes the cloud to become unstable and it begins to collapse. The collapse occurs in a spiraling motion the same way water spirals down the drain. Most of the matter becomes very concentrated in the centre and eventually the gravity becomes sooo strong that nuclear fusion starts burning and the star begins to shine. It is called a protostar at this point. The rest of the material in the spiral will go on to make the planets and moons.
Indeed, gravity. The stars form from giant gas clouds which collapse under gravity and when enough energy in the form of heat is formed, fusion of elements begin and this is what powers a star and keeps it alive. This process occurs over very very long timescales.
So gravity is a great thing.
That said, the movie Gravity wasn’t…and Sandra Bullock should never be sent to space.