The current idea that governs our understanding of planetary systems is called: Nebular theory.
The Nebular theory defines and explains the formation of our Solar System. According this theory the solar system is formed from a cloud of gas and dust particles known as a nebula.