RAM (Random Access Memory) is primary memory - it stores data and programs currently in use for fast access by the CPU. While it's hardware component physically, its function is memory. Storage devices (hard drives, SSDs) provide persistent secondary storage.