Which of the following statements best describes the role of gravity in the formation of stars?

Which of the following statements best describes the role of gravity in the formation of stars?

Gravity pushes rocks and dust particles outward from a dense center causing large amounts of friction and heating of the rocks and dust.

Gravity converts solid matter into gases and light energy.

Gravity causes gases and dust particles to condense into a denser area, and collapse. Given enough matter and high temperatures, nuclear fusion will begin.

Gravity cools gases and liquids until they become one solid mass. The pressure of the solid mass starts the nuclear fusion process.

Gravity causes gases and dust particles to condense into a denser area, and collapse. Given enough matter and high temperatures, nuclear fusion will begin.