Encoding is the process of converting information into a form that can be stored and retrieved by the memory system. It involves the initial registration and processing of sensory input, which allows the brain to create a mental representation of the information that can be maintained and recalled later.