On the Formation of Earth and Celestial Bodies