How does gravity facilitate the initial formation of a star?

Answer

Gravity pulls surrounding gas and dust inward until that pull is balanced by repulsive forces.

Gravity is the force that initially binds matter together, pulling in surrounding gas and dust until the inward pull reaches an equilibrium with other repulsive forces.

How does gravity facilitate the initial formation of a star?
physicsSpacegravitystarmotion