In order for the brain to process information, it must first be stored.  There are multiple types of memory, including sensory, working, and long-term.  First, information is encoded.  There are types of encoding specific to each type of sensory stimuli.