Answer :
A star froms when gravity pulls out a large cloud of matter is pulled of of a part of earth forming a star
in a star-forming area when a star passes of a supernova happens nearby the matter clumps together and gets so hot that the hydrogen fuses with others to get helium.