The universe is simply the collection of galaxies, stars, planets, comets, meteorites, and other solar system detritus, plus whatever dark matter and dark energy turn out to be. The universe is governed by laws of nature that themselves have no purpose other than what they inevitably dictate matter and energy to do. Stars, for example, convert hydrogen into helium, and they have no choice in the matter once they reach a certain size and temperature. Stars are not sitting around thinking "my purpose in life is to convert hydrogen into helium so I better get on with it." Ditto everything else in the universe, including all living organisms, from C. elegans to H. sapiens.