Answer:
gravity
Step-by-step explanation:
Gravity is the factor that gathers and pulls together the things that are floating around in the creation of a star, it is the magnetic gravity field that starts to attract things towards the center of gravity of the star and makes it dense and compiles it into a giant ball of incandescent matter.