How did planet earth appear?