Peripatetic / Teleology
Aristotle held that natural things are best explained by the ends they aim at, so purpose is built into nature. He did not picture a designer, but saw the cosmos as ordered toward actuality and ultimately drawn toward an unmoved mover.
Nature does nothing without an end; to understand why things are as they are, we must ask what they are for, and the whole cosmos is oriented toward the perfect activity of pure thought.
Source: Physics
Atomism
Democritus explained the world through atoms moving in a void, without any guiding intention. Order arises from necessity and chance collisions, not from goals.
Everything comes about from the motion and combination of atoms by necessity; there is no overarching aim behind the arrangement of worlds.
Scholasticism
Aquinas argued that the regularity of natural things acting toward ends points to an intelligent source directing them. The universe's purpose is grounded in God as its first cause and final good.
Things lacking intelligence still act for ends, so they must be directed by a mind; creation as a whole is ordered toward the divine goodness.
Source: Summa Theologiae
Islamic Neoplatonic Aristotelianism
Avicenna described the universe as emanating necessarily from a necessary being. Existence flows from divine intellect, and each level of reality yearns toward its source.
The cosmos follows from the necessary existent through an ordered chain, and all things are drawn by desire toward the perfection of that source.
Source: The Book of Healing
Rationalism
Spinoza rejected final causes in nature as a projection of human wishes. God or Nature acts from necessity, not for goals, so the universe has no purpose beyond its own necessary being.
People imagine that nature aims at ends because they themselves act for ends; in truth everything follows from the necessity of nature's own essence.
Source: Ethics
Rationalism
Leibniz held that the universe is the product of a perfectly wise God who chose the best among possible worlds. Efficient causes and final causes work in harmony, so purpose pervades reality.
The actual world was selected for its overall perfection, and mechanical explanation and purposive explanation each describe the same ordered whole.
Source: Theodicy