The three memory systems are long-term memory, short-term memory and perceptual memory. The first one revolves around things we see and stay in our memory for a few seconds. The second type of memory is short-term or working memory which is about things we can memorize for a couple of minutes or even hours. Long-term memory generally lasts for ages.
Without either of these, we are unable to learn.