Given a scientific question, generate a correct answer to it.

For a star to form, what force pulls gas and dust into the center of the nebula?
gravity