The animals, like all creation, were created for the "Glory of God" (Psalm 19:1-3). Col 1:16 says "all things have been created through him and for him" (emphasis mine).
Further, Isaiah 45:18 says, "For this is what the LORD says— he who created the heavens, he is God; he who fashioned and made the earth, he founded it; he did not create it to be empty, but formed it to be inhabited" (emphasis mine). So there seems to be some intentionality to the creation of animals in that it pleases God to create life abundantly - it does seem that where-ever life can subsist it does exist within this universe.
Also, after the flood, the animals were given to mankind for food (Gen 9:1):
1 Then God blessed Noah and his sons, saying to them, “Be fruitful and increase in number and fill the earth. 2 The fear and dread of you will fall on all the beasts of the earth, and on all the birds in the sky, on every creature that moves along the ground, and on all the fish in the sea; they are given into your hands. 3 Everything that lives and moves about will be food for you. Just as I gave you the green plants, I now give you everything.
As Mason has pointed out, this will change in the next creation.