Life on Earth evolved in the oceans for almost 3 billion years before moving onto land. Comets or meteors may have "seeded" the early oceans with organic compounds that could have contributed to the emergence of life, rather than delivering whole organisms. For life to migrate from the oceans onto land, photosynthesis must have altered the atmosphere by converting it to contain more oxygen, as the crust had long since cooled.