Memories are encoded in individual cells. All types of memory consist of the same essential thing: an association between a group of neurons such that when one fires, they all fire, creating a specific pattern. This applies to thoughts, sensory perceptions, ideas, hallucinations—any brain function except the random activity of a seizure. (Carter, Rita. Mapping the Mind. P159. CA: University of California Press, 1998.)