Memory refers to a device that is used to store information for immediate use in a computer or related computer hardware device. It typically refers to semiconductor memory, specifically random access memory (RAM) where data is stored within memory cells on a chip. Computer memory operates at a high speed compared to storage that provides slower access information but offers higher capacities.

There are two main kinds of semiconductor memory, volatile and non-volatile.
Examples of non-volatile memory are flash memory (used as secondary memory) and ROM, PROM, EPROM and EEPROM memory (used for storing firmware such as BIOS).
Examples of volatile memory are typically dynamic random-access memory (DRAM), and fast CPU cache memory, which is typically static random-access memory (SRAM) that is fast but energy-consuming.