Computer memory is a physical device capable of storing data and information. It is a storage space where data and instructions are stored either for processing or for further uses. It can store data and instructions either temporarily (RAM) or permanently (ROM).
Memory can be of two types, Primary Memory and Secondary Memory.