Formation of planets in the solar system
1. Gravitational attraction pulled mass of dust and gas from remaining nebula around the sun
2. Gas particles condensed into liquid and solid states
3. Particles clumped together to form cosmic bodies of different sizes
4. Cosmic bodies further condensed into planets
5. Interaction from gravity of passing star and sun led to formation of planets