Which of the following best describes the role of gravity in the formation of planets, stars, and solar systems?

O Gravity causes the expansion of the universe.

O Gravity prevents the formation of stars and planets.

O Gravity brings together matter, leading to the formation of stars, planets, and solar systems.

O Gravity is not involved in the formation of stars and planets.

Gravity brings together matter, leading to the formation of stars, planets, and solar systems.