In general, the more emotionally charged an event or experience is, the better it is remembered; this phenomenon is known as the memory enhancement effect.
Hebb distinguished between short-term and long-term memory.