Long-term memory
Working memory (STM) is not part of long term memory, but is important for long term memory to work. Working memory holds and works on information for a short period before it is either forgotten or put into long term memory. Then, to remember something from long term memory, it must come back into working memory. If working memory is overloaded it can affect the encoding of long term memory.