theory that explains both the formation of living and nonliving things in the universe