how a star is formed?
Stars are formed from massive clouds of dust and gas in space. Gravity pulls the dust and gas together to form a protostar. As the gases come together, they get hot. A star forms when it is hot enough for nuclear reactions to start.