The cognitive function you are describing is known as "mental imagery" or "visualization." Mental imagery is the ability to create sensory experiences in the mind without the presence of external stimuli. It involves activating various sensory modalities, such as visual, auditory, and kinesthetic, to imagine and simulate experiences as if they were happening in reality.
When you describe an event, past, future, or fantasy, and immerse yourself in the experience as if you were there, you are engaging in mental imagery. This cognitive function allows you to mentally simulate scenarios, remember past events, or create entirely new situations in your mind.
Mental imagery is a powerful cognitive process that plays a crucial role in memory, creativity, problem-solving, and understanding. By mentally "walking through" your imagination, you can gain a deeper understanding of the situations you encounter or the information you receive from others. It enhances your ability to empathize with others and can facilitate more vivid and detailed recall of past experiences.