@oristarA,
It's the phrase "in order [for it] to do something".
I copied and pasted the following portion of your post
in order [for me] to explain to you this meaning.
We were fascinated by perforin. We wanted to know its structure. We wanted to know how [that] its structure might change
in order for it to act as a hole-punching machine."
We wanted to know how its structure might change
so that it can act as a hole-punching machine."
I gave her a knife in order to cut the birthday cake.
I turned on the computer in order to check something on Google.
I went into the bathroom in order to have a shower.