This is the 1434th most frequent Polish word.
wzięło
"Wzięło" means "took" in English.
In this sentence, "wzięło" is used in an idiomatic expression referring to being overtaken or strongly affected by something, in this case, memories.
Nagle wzięło mnie na wspomnienia.
Suddenly, I was overwhelmed with memories.
Here, "wzięło" denotes the act of physically taking an object or part (hand) and performing a subsequent action (leading).
Wzięło mnie za rękę i poprowadziło.
It took my hand and led me.
In this context, "wzięło" is describing a simple physical action of taking or grabbing an item (toy).