Galaxie

Galaxies are thought to begin as small clouds of stars and dust swirling through space. As other clouds get close, gravity sends these objects careening into one another and knits them into larger spinning packs.

Local hight concentrations of mass were collected by gravity and formed stars and planets a solar system

The sun and its system of circling planets formed from a rotating cloud of gas and dust./