Random-access memory (RAM) is a class of semiconductor memory in which data at any address can be read or written in roughly the same time, regardless of where it is stored. It is the main working memory of nearly every programmable digital system, holding the instructions and data that a processor is currently executing.
Common RAM is volatile: it needs a continuous power supply to retain data and loses its contents when power is removed. This distinguishes it from storage devices such as SSDs, which keep their data without power.