Genesis 2:18-20
Within the covenant, the blessing of the establishment of marriage is preceded by God preparing Adam's mind for his need for a companion suitable to him. This was no casual activity. It involved a display of the intellectual powers that God gave to Adam. God undoubtedly caused animals or groups of animals to gather for Adam to observe, study, and classify, to see what he would call them.
In giving each animal group its name, Adam demonstrated his right as God's human regent. He was given dominion over the animals, and he used that authority. Furthermore, it appears that the names Adam gave them “stuck.” They did so because he demonstrated good insight into their characteristics, and his descendants later used the names he initially gave the animals.
This exercise demonstrated to Adam that there was no one like him in the animal world. No animal was created in the image of God. If he had chosen one of them, communication and all it entails would necessarily have had to remain at the animal's level. He was now better prepared for God's gift of Eve.
John W. Ritenbaugh
Leadership and Covenants (Part Five)

God's sovereignty extends over animals, as He directed every creature to pass before Adam, who exercised his God-given dominion by naming them. This was no casual activity; Adam used his intelligence and powers of observation, naming each animal according to its characteristics, and the names stuck. Remarkably, no scientist today could name every beast. The primary purpose was to show Adam that no animal, not even primates, was like him or created in God's image. Adam could have comradeship with animals but not fellowship, so no helper comparable to him was found. The exercise also introduced his responsibility to care for them and prepared him for Eve, whose creation pictures the special bride God is making for His Son, Jesus Christ.