Usually used to store working data and machine code, random-access memory (RAM) is a type of computer memory that can be read and modified in any sequence. Whatever their physical position inside the memory, data objects can be read or written in virtually the same amount of time using a random-access memory device.