How Stars are Formed?

Stars go through many steps before they are formed. It takes hydrogen molecules billions of years to come together into a protostar. The protostar then spends about 100,000 years gathering gas to form a T Tauri star. After another 100 million years or so, the T Tauri star is collapsed into nuclear fusion, creating a star.