what object is formed from gas and dust particles