The Solar system can be understood through understanding the law of nature. It means that nothing can exist without relying on other things surrounding it. The Solar system relies on a large amount of energy that already exists in space. However the condition for it to be formed is based on the energy that fluctuates in repetition.
If you want to find out secrets of the Universe, think in terms of energy, frequency and vibration.
– Nikola Tesla
Through repetitions, matters start to condense and become organized. It generates spin and contains energy states. The Solar system is formed in a very similar way. It is formed where there is a number of matters already exist and when there is an interaction that produces large amount of oscillating energy inside a galaxy. The image below shows the evidence of oscillating energy when planets are formed.