Planets form from dust and gas. But how, exactly? Under the popular accretion model, they accrete over millions of years as one particle collides with another.
Under the not-so-popular gravitational instability model, something more decisive occurs. Dust and fragments gather in an area until they undergo a kind of gravitational collapse. The force pulling them together becomes greater than whatever is keeping them apart, and a new planet begins to coalesce.