The big bang theory states that the universe started with a big bang. There was an explosion of some type of star and a lot of dust and gas was dispersed. These tiny pieces of matter formed together and this is what created the sun. The other particles formed the planets and that is how Earth was eventually formed.