A voyage from dark clouds to the early Earth