We know several types of memory
The first is sensory memory. It is a direct, instantaneous memory that lasts only a fraction of a second. Sensory stimuli perceived by our senses are recorded and stored in the sensory memory.
The second is short-term or working memory. The data is stored as long as it is important to perform a task. After completing the task, we forget this information. An example might be repeating a phone number that we only remember for the time we need it. On average, we remember seven units at a time. With age, our short-term memory becomes shorter, making it harder to perform certain tasks.
The third type of memory is long-term memory. From short-term or working memory, information is transferred to long-term memory through repetition. Long-term memory is divided into three groups. These are episodic, semantic, and procedural memory.