Wisdom, the Highest Virtue. Wisdom, with it, you will free yourself.
Wisdom means to "see" things in a new way. It can also mean to realize something.
The purpose of "wisdom contemplation" is to come to this new way of "seeing".
Such as when one is investigating the body, seeing it as suffering, loathsome, ugly, in pieces, impermanent, and not-self, one will eventually "see" the body in these ways. You will see that body as disgusting, something which is a burden, something that is destructible. One may see other peoples bodies as just "bodies" and not people. Inanimate object walking around. Other people may take on a "disgusting" appearance, like one is looking at a dead body. The purpose is to drop attachments, once you see in this way, you'll know for certain that the body is not self.
Or if one investigates sight, one can realize and see that everything is just a collection of colors and shapes. There's no depth to anything or distance in seeing. Everything is just there all at the same time. The mountains are as near to you as your nose so you don't really need to go hiking or seeking "far" away things. It's already near you. That's another kind of "seeing" one can come to through wisdom.
Another level of wisdom is when you realize a solution to a problem through thought based reasoning. Once you have an insight into how some aspect of your mind works or why suffering is arising , that "wisdom" will cut off that cause of suffering.
One can investigate, what is the body? What is sense-consciousness? Why do I feel painful and pleasant feelings? Why do I crave things? Etc. If one manages to investigate properly, real insights can be acquired, and attachment will fall away.