Memory

I personally view, memory, as being the way to my soul, and to God. I’m 
fascinated by memory, it seems to me to be like a fractal dimension, 
undulating into my past, yet, constantly, affecting my choices of the 
moment. Prayer for me is an exercise in sublimating desire with deep memory. 
Ultimately finding the eternal thread of consciousness that connects me, with 
all things presently. My question is: What really is memory?