Original: The Solar System (including the Earth) formed from a large, rotating cloud of interstellar dust and gas called the solar nebula, orbiting the Milky Way's galactic center.
Simplified: The formation of Earth occurred as part of the formation of the Solar System. It started as a large rotating cloud of dust and gas.