Stars are born in high density areas of space called nebulas. A nebula (as defined by Dictionary.com) is: A diffuse mass of interstellar dust or gas or both, visible as luminous patches or areas of darkness depending on the way the mass absorbs or reflects incident radiation. The stars are born because of the gravity of the nebula acts on itself, condensing the gas and dust into a protostar.
A protostar is a very small star. The protostar begins to heat up, and if it has enough matter the core temperature reaches 15 million degrees Fahrenheit. At 15 million degrees Fahrenheit nuclear reactions occur in which hydrogen fuses to form helium. The star then begins to release energy which stops it from contracting, and it causes the star to shine. When a star starts to shine it is called a “main sequence star”. A star remains in main sequence depending on its solar mass. A star of about 1 solar mass will remain in main sequence for about 10 billion years. After all of the star’s hydrogen has been used to form helium, it begins to cool down and the helium fuses to carbon and the star expands, becoming a red giant (when a star becomes a red giant with no more hydrogen left to burn it is out of the main sequence.)
The Essay on Stars Over Time Main Sequence
... burn up its hydrogen core. This is when it becomes a Main Sequence Star. Main Sequence stars are split into two types: Upper Main Sequence and Lower Main Sequence. They both ... The life of a star begins in a nebula, a great collection of gas and dust. Once enough mass has accumulated into a ...
The red giant keeps expanding until all of its helium runs out and then all of the outer layers drift away from the core as a gaseous shell. The gas that surrounds the core is called a “Planetary Nebula”. The core that is left then becomes a “white dwarf”. After the white dwarf cools down enough it stops shining and dies, forming a “black dwarf”.
Another life cycle of a star involves a star with a mass of 10 solar masses or more. These stars evolve similarly to stars of about 1 solar mass until they reach “main sequence”. The star shines bright until all of its hydrogen has fused to form helium. This takes only millions of years, compared to the billions it takes smaller stars. The huge star then becomes a Red Supergiant with a helium core. As the star’s gases are used up it will begin to contract. This contraction causes the core of the star to collapse, taking less than one second. The explosion that follows causes the star to become many times brighter (this is called a super nova).
Sometimes the core survives the explosion. If the mass of the remaining core is 1.5-3 solar masses it contracts to become a very dense Neutron Star. If the core is greater than 3 masses it will contract to form a black hole. A black hole has such a strong gravitational force that nothing it attracts towards it can escape, not even light.
Sources:
[Dictionary.com] [Oak Meadow Earth Science Learning Guide] [http://www.astro.keele.ac.uk/workx/starlife/StarpageS_26M.html}