Sensory memory is the initial, brief storage of sensory information that occurs immediately after a stimulus is presented. It allows individuals to retain impressions of sensory information for a very short period, usually less than a second for visual stimuli and a few seconds for auditory stimuli. This fleeting storage plays a critical role in the encoding process, as it helps filter and transfer information into short-term memory for further processing.