Earth and the other planets in the solar system formed about 4.6 billion years ago. The early Earth had no ozone layer and no free oxygen, lacked oceans, and was very hot.