Hey there!
Your answer is the sensory memory.
Sensory memory is very short term. It retains your memory on the first impression and works with the five senses like see, taste, and sight, to keep the image in your mind after processed by stimuli.
Hope this helps!